Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 251 for command (0.19 sec)

  1. 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)
  2. 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)
  3. operator/cmd/mesh/operator-init.go

    		l.LogAndPrintf("Upgrading operator controller in namespace: %s using image: %s/operator:%s",
    			oiArgs.common.operatorNamespace, oiArgs.common.hub, oiArgs.common.tag)
    	} else {
    		l.LogAndPrintf("Installing operator controller in namespace: %s using image: %s/operator:%s",
    			oiArgs.common.operatorNamespace, oiArgs.common.hub, oiArgs.common.tag)
    	}
    
    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)
  4. 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)
  5. 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)
  6. common/scripts/tracing.sh

        "ci.pipeline.run.pull_sha=${PULL_PULL_SHA:-${PULL_BASE_SHA:-none}}"
    }
    
    # Usage: tracing::run <span name> [command ...]
    function tracing::run() {
      # If not running in a prow job or otel-cli is not available (e.g. build system without otel-cli) just run the command
      if [ -z "${JOB_NAME:-}" ] || ! command -v otel-cli &> /dev/null
      then
        "${@:2}"
        return "$?"
      fi
    
      # Disable execution tracing to avoid noise
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jul 28 15:25:47 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. operator/cmd/mesh/operator_test.go

    		},
    	}
    
    	cmd := "operator dump --hub " + odArgs.common.hub
    	cmd += " --tag " + odArgs.common.tag
    	cmd += " --imagePullSecrets " + strings.Join(odArgs.common.imagePullSecrets, ",")
    	cmd += " --operatorNamespace " + odArgs.common.operatorNamespace
    	cmd += " --watchedNamespaces " + odArgs.common.watchedNamespaces
    	cmd += " --manifests=" + string(snapshotCharts)
    	cmd += " --output " + odArgs.common.outputFormat
    
    	gotJSON, err := runCommand(cmd)
    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)
  10. 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)
Back to top