- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for visible (0.24 sec)
-
istioctl/cmd/root_test.go
Use: "child", Run: func(c *cobra.Command, args []string) {}, } _ = parent.PersistentFlags().String(childFlag2, "", childFlag2) parent.AddCommand(child) // verify both parent flags and the child flag are visible by default parent.SetArgs([]string{"child", "--help"}) if err := parent.Execute(); err != nil { t.Fatal(err) } got := out.String() out.Reset() checkHelpForFlag(t, got, parentFlag0, true)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 15 17:59:55 GMT 2021 - 2.4K bytes - Viewed (0) -
cni/pkg/nodeagent/net_test.go
// make sure the uid was taken from cache and netns closed netns := fixture.podNsMap.Take(string(pod.UID)) assert.Equal(t, nil, netns) // run gc to clean up ns: //revive:disable-next-line:call-to-gc Just a test that we are cleaning up the netns runtime.GC() assertNSClosed(t, closed) } func TestServerDeletePod(t *testing.T) { ctx, cancel := context.WithCancel(context.Background())
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 16.4K bytes - Viewed (0) -
cni/test/install_cni.go
var envPreconf string if preConfFile != "" { envPreconf = preConfFile } else { preConfFile = resultFileName } setEnv(cniNetworkConfigName, cniNetworkConfig, t) // disable monitoring & uds logging viper.Set(constants.MonitoringPort, 0) viper.Set(constants.LogUDSAddress, "") viper.Set(constants.RepairEnabled, false) ctx, cancel := context.WithCancel(context.Background())
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 12.5K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
pod, ns := buildFakePodAndNSForClient() pod.ObjectMeta.Annotations[sidecarStatusKey] = "true" pod.Spec.Containers = append(pod.Spec.Containers, corev1.Container{ Name: "istio-init", Env: []corev1.EnvVar{{Name: "DISABLE_ENVOY", Value: "true"}}, }) mockIntercept := testDoAddRun(t, buildMockConf(true, ""), testNSName, pod, ns) if len(mockIntercept.lastRedirect) != 0 { t.Fatalf("failed to exclude pod") } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 17.5K bytes - Viewed (0) -
cni/pkg/repair/repair.go
) var repairLog = log.RegisterScope("repair", "CNI race condition repair") func StartRepair(ctx context.Context, cfg config.RepairConfig) { if !cfg.Enabled { repairLog.Info("CNI repair is disable.") return } repairLog.Info("Start CNI race condition repair.") client, err := clientSetup() if err != nil { repairLog.Fatalf("CNI repair could not construct clientSet: %s", err) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue May 23 17:08:31 GMT 2023 - 1.5K bytes - Viewed (0) -
cni/pkg/util/podutil_test.go
args: args{ namespace: namespaceWithAmbientEnabledLabel, pod: podWithSidecar, }, want: false, }, { name: "pod has label to disable ambient redirection", args: args{ namespace: namespaceWithAmbientEnabledLabel, pod: podWithAmbientDisabledLabel, }, want: false, }, {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 4.9K bytes - Viewed (0) -
istioctl/pkg/describe/describe_test.go
}, Port: &v1alpha32.PortSelector{Number: 8080}, Tls: &v1alpha32.ClientTLSSettings{Mode: v1alpha32.ClientTLSSettings_DISABLE}, ConnectionPool: &v1alpha32.ConnectionPoolSettings{Tcp: &v1alpha32.ConnectionPoolSettings_TCPSettings{MaxConnections: 10}}, OutlierDetection: &v1alpha32.OutlierDetection{MinHealthPercent: 10}, },
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Mar 28 09:54:01 GMT 2024 - 30.4K bytes - Viewed (0) -
cni/pkg/plugin/plugin.go
log.Infof("excluded due to being already injected with istio-init container") return nil } if val, ok := pi.ProxyEnvironments["DISABLE_ENVOY"]; ok { if val, err := strconv.ParseBool(val); err == nil && val { log.Infof("excluded due to DISABLE_ENVOY on istio-proxy", podNamespace, podName) return nil } } if !pi.Containers.Contains(ISTIOPROXY) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 10.5K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
"Use live Kubernetes cluster for analysis. Set --use-kube=false to analyze files only.") analysisCmd.PersistentFlags().BoolVar(&colorize, "color", formatting.IstioctlColorDefault(analysisCmd.OutOrStdout()), "Default true. Disable with '=false' or set $TERM to dumb") analysisCmd.PersistentFlags().BoolVarP(&verbose, "verbose", "v", false, "Enable verbose output") analysisCmd.PersistentFlags().Var(&failureThreshold, "failure-threshold",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 17K bytes - Viewed (0) -
operator/cmd/mesh/root.go
"istio.io/istio/pkg/version" ) var ( baseVersion = binversion.OperatorVersionString setFlagHelpStr = `Override an IstioOperator value, e.g. to choose a profile (--set profile=demo), enable or disable components (--set components.cni.enabled=true), or override Istio settings (--set meshConfig.enableTracing=true). See documentation for more info:` + url.IstioOperatorSpec
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 3.9K bytes - Viewed (0)