- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 35 for IstioNamespace (0.28 sec)
-
istioctl/pkg/describe/describe_test.go
} func verifyExecAndK8sConfigTestCaseTestOutput(t *testing.T, c execAndK8sConfigTestCase) { t.Helper() ctx := cli.NewFakeContext(&cli.NewFakeContextOption{ Namespace: c.namespace, IstioNamespace: c.istioNamespace, Results: c.configDumps, }) client, err := ctx.CLIClient() assert.NoError(t, err) // Override the Istio config factory for i := range c.istioConfigs {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 20:04:20 UTC 2024 - 30.8K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 02:31:32 UTC 2024 - 15.3K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject.go
} meshConfigMap, err := client.Kube().CoreV1().ConfigMaps(ctx.IstioNamespace()).Get(context.TODO(), meshConfigMapName, metav1.GetOptions{}) if err != nil { return nil, fmt.Errorf("could not read valid configmap %q from namespace %q: %v - "+ "Use --meshConfigFile or re-run "+command+" with `-i <istioSystemNamespace> and ensure valid MeshConfig exists", meshConfigMapName, ctx.IstioNamespace(), err) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 16:31:46 UTC 2024 - 21K bytes - Viewed (0) -
istioctl/pkg/config/config.go
"istio.io/istio/pkg/env" ) // settableFlags are the flags used to istioctl var settableFlags = map[string]env.VariableInfo{ "istioNamespace": env.Register("ISTIOCTL_ISTIONAMESPACE", constants.IstioSystemNamespace, "The istioctl --istioNamespace override"), "xds-address": env.Register("ISTIOCTL_XDS_ADDRESS", "", "The istioctl --xds-address override"),
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sun Jul 30 12:16:07 UTC 2023 - 3.1K bytes - Viewed (0) -
istioctl/pkg/version/version.go
kubeClient, err := ctx.CLIClientWithRevision(opts.Revision) if err != nil { return nil, err } return kubeClient.GetIstioVersions(context.TODO(), ctx.IstioNamespace()) } func getRemoteInfoWrapper(ctx cli.Context, pc **cobra.Command, opts *clioptions.ControlPlaneOptions) func() (*istioVersion.MeshInfo, error) { return func() (*istioVersion.MeshInfo, error) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 29 21:11:35 UTC 2024 - 8.3K bytes - Viewed (0) -
istioctl/pkg/multicluster/options.go
// to pass pointers-to-flags through all of the (sub)commands. func (o *KubeOptions) prepare(ctx cli.Context) { o.Namespace = ctx.Namespace() if o.Namespace == "" { o.Namespace = ctx.IstioNamespace() configAccess := clientcmd.NewDefaultPathOptions() configAccess.GlobalFile = o.Kubeconfig if config, err := configAccess.GetStartingConfig(); err == nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Aug 01 23:59:49 UTC 2023 - 1.6K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus.go
ResourceNames: []string{fmt.Sprintf("%s.%s", podName, ns)}, TypeUrl: pilotxds.TypeDebugConfigDump, } xdsResponses, err := multixds.FirstRequestAndProcessXds(&xdsRequest, centralOpts, ctx.IstioNamespace(), "", "", kubeClient, multiXdsOpts) if err != nil { return err } c, err := compare.NewXdsComparator(c.OutOrStdout(), xdsResponses, envoyDump) if err != nil { return err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 6.2K bytes - Viewed (0) -
istioctl/pkg/dashboard/dashboard.go
return fmt.Errorf("failed to create k8s client: %v", err) } var podName, ns string if labelSelector != "" { pl, err := client.PodsForSelector(context.TODO(), ctx.NamespaceOrDefault(ctx.IstioNamespace()), labelSelector) if err != nil { return fmt.Errorf("not able to locate pod with selector %s: %v", labelSelector, err) } if len(pl.Items) < 1 { return errors.New("no pods found")
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Apr 15 01:29:35 UTC 2024 - 20.5K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck_test.go
} for _, c := range cases { t.Run(fmt.Sprintf("revision=%s, version=%s", c.revision, c.version), func(t *testing.T) { ctx := cli.NewFakeContext(&cli.NewFakeContextOption{ IstioNamespace: "istio-system", }) output, err := checkFromVersion(ctx, c.revision, c.version) assert.Equal(t, output, c.expectedOutput) if c.expectedError != nil { assert.Error(t, err) } else {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jul 09 12:01:22 UTC 2024 - 3.9K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/clusters.go
kubeClient, err := ctx.CLIClientWithRevision(opts.Revision) if err != nil { return err } res, err := kubeClient.AllDiscoveryDo(context.Background(), ctx.IstioNamespace(), "debug/clusterz") if err != nil { return err } return writeMulticlusterStatus(cmd.OutOrStdout(), res) }, } opts.AttachControlPlaneFlags(cmd) return cmd }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 2.3K bytes - Viewed (0)