- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for istioNamespace (0.15 sec)
-
istioctl/pkg/cli/option.go
"Kubernetes namespace") flags.StringVarP(r.istioNamespace, FlagIstioNamespace, "i", viper.GetString(FlagIstioNamespace), "Istio system namespace") return r } // Namespace returns the namespace flag value. func (r *RootFlags) Namespace() string { return *r.namespace } // IstioNamespace returns the istioNamespace flag value. func (r *RootFlags) IstioNamespace() string { return *r.istioNamespace }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 30 01:19:20 UTC 2024 - 3.9K bytes - Viewed (0) -
istioctl/pkg/config/config_test.go
"istio.io/istio/istioctl/pkg/util/testutil" "istio.io/istio/pkg/config/constants" ) func TestConfigList(t *testing.T) { cases := []testutil.TestCase{ //{ // case 0 // Args: strings.Split("get istioNamespace", " "), // ExpectedRegexp: regexp.MustCompile("Configure istioctl defaults"), // WantException: false, //}, { // case 1 Args: strings.Split("list", " "),
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 1.8K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug.go
namespace, serviceAccount, kubeClient, multixds.DefaultOptions) if err != nil { return err } sw := DebugWriter{ Writer: c.OutOrStdout(), InternalDebugAllIstiod: internalDebugAllIstiod, } newResponse, err := HandlerForDebugErrors(kubeClient, ¢ralOpts, c.OutOrStdout(), ctx.IstioNamespace(), xdsResponses) if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jul 12 11:30:24 UTC 2024 - 6.7K bytes - Viewed (0) -
istioctl/pkg/cli/context.go
} func (f *fakeInstance) Namespace() string { return f.rootFlags.Namespace() } func (f *fakeInstance) IstioNamespace() string { return f.rootFlags.IstioNamespace() } type NewFakeContextOption struct { Namespace string IstioNamespace string Results map[string][]byte // Objects are the objects to be applied to the fake client Objects []runtime.Object
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 23 19:31:32 UTC 2024 - 8.9K 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/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)