- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 77 for Command (0.61 sec)
-
istioctl/pkg/dashboard/dashboard.go
} func Dashboard(cliContext cli.Context) *cobra.Command { dashboardCmd := &cobra.Command{ Use: "dashboard", Aliases: []string{"dash", "d"}, Short: "Access to Istio web UIs", Args: func(cmd *cobra.Command, args []string) error { if len(args) != 0 { return fmt.Errorf("unknown dashboard %q", args[0]) } return nil }, RunE: func(cmd *cobra.Command, args []string) error { cmd.HelpFunc()(cmd, args)
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Mon Apr 15 01:29:35 GMT 2024 - 20.5K bytes - Viewed (0) -
operator/cmd/mesh/manifest.go
"github.com/spf13/cobra" "istio.io/istio/istioctl/pkg/cli" ) // ManifestCmd is a group of commands related to manifest generation, installation, diffing and migration. func ManifestCmd(ctx cli.Context) *cobra.Command { mc := &cobra.Command{ Use: "manifest", Short: "Commands related to Istio manifests", Long: "The manifest command generates and diffs Istio manifests.", } mgcArgs := &ManifestGenerateArgs{}
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 1.4K bytes - Viewed (0) -
operator/cmd/mesh/profile-list.go
manifestsPath string } func addProfileListFlags(cmd *cobra.Command, args *profileListArgs) { cmd.PersistentFlags().StringVarP(&args.manifestsPath, "charts", "", "", ChartsDeprecatedStr) cmd.PersistentFlags().StringVarP(&args.manifestsPath, "manifests", "d", "", ManifestsFlagHelpStr) } func profileListCmd(plArgs *profileListArgs) *cobra.Command { return &cobra.Command{ Use: "list",
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 1.9K bytes - Viewed (0) -
istioctl/pkg/completion/completion.go
podsName = append(podsName, pod.Name) } } return podsName, nil } func ValidPodsNameArgs(ctx cli.Context) func(_ *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) { return func(_ *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) { if len(args) != 0 { return nil, cobra.ShellCompDirectiveNoFileComp }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 4.9K bytes - Viewed (0) -
operator/cmd/mesh/operator-init.go
} func operatorInitCmd(ctx cli.Context, rootArgs *RootArgs, oiArgs *operatorInitArgs) *cobra.Command { return &cobra.Command{ Use: "init", Short: "Installs the Istio operator controller in the cluster.", Long: "The init subcommand installs the Istio operator controller in the cluster.", Args: cobra.ExactArgs(0), PreRunE: func(cmd *cobra.Command, args []string) error {
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 6.2K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/clusters.go
func ClustersCommand(ctx cli.Context) *cobra.Command { var opts clioptions.ControlPlaneOptions cmd := &cobra.Command{ Use: "remote-clusters", Short: "Lists the remote clusters each istiod instance is connected to.", RunE: func(cmd *cobra.Command, args []string) error { kubeClient, err := ctx.CLIClientWithRevision(opts.Revision) if err != nil { return err
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 2.3K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate.go
"If enabled, the current cluster will be checked for cluster-specific setting detection.") } func ManifestGenerateCmd(ctx cli.Context, rootArgs *RootArgs, mgArgs *ManifestGenerateArgs) *cobra.Command { return &cobra.Command{ Use: "generate", Short: "Generates an Istio install manifest", Long: "The generate subcommand generates an Istio install manifest and outputs to the console by default.", // nolint: lll
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 8.5K bytes - Viewed (0) -
operator/cmd/mesh/operator_test.go
"istio.io/istio/pkg/test/env" "istio.io/istio/pkg/test/util/assert" ) var ( extendedClient kube.CLIClient kubeClient client.Client ) // TODO: rewrite this with running the actual top level command. func TestOperatorDump(t *testing.T) { goldenFilepath := filepath.Join(env.IstioSrc, "operator/cmd/mesh/testdata/operator/output/operator-dump.yaml") odArgs := &operatorDumpArgs{ common: operatorCommonArgs{
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Tue Aug 29 14:15:33 GMT 2023 - 6.4K bytes - Viewed (0) -
istioctl/pkg/tag/tag_test.go
} } commandOutput := out.String() for _, s := range tc.outputMatches { if !strings.Contains(commandOutput, s) { t.Fatalf("expected \"%s\" in command output, got %s", s, commandOutput) } } }) } } func TestRemoveTag(t *testing.T) { tcs := []struct { name string tag string
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Nov 17 22:41:06 GMT 2023 - 8.7K bytes - Viewed (0) -
istioctl/cmd/sysexits.go
ExitAnalyzerFoundIssues = 79 // istioctl analyze found issues, for CI/CD ) func GetExitCode(e error) int { if strings.Contains(e.Error(), "unknown command") { e = util.CommandParseError{Err: e} } switch e.(type) { case util.CommandParseError: return ExitIncorrectUsage case analyze.FileParseError: return ExitDataError
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.9K bytes - Viewed (0)