Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 213 for Command (0.18 sec)

  1. istioctl/pkg/workload/workload.go

    }
    
    func groupCommand(ctx cli.Context) *cobra.Command {
    	groupCmd := &cobra.Command{
    		Use:     "group",
    		Short:   "Commands dealing with WorkloadGroup resources",
    		Example: "  istioctl x workload group create --name foo --namespace bar --labels app=foobar",
    	}
    	groupCmd.AddCommand(createCommand(ctx))
    	return groupCmd
    }
    
    func entryCommand(ctx cli.Context) *cobra.Command {
    	entryCmd := &cobra.Command{
    		Use:     "entry",
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

        @GuardedBy("lock")
        private int runningTasks = 0;
    
        @GuardedBy("lock")
        private boolean shutdown = false;
    
        @Override
        public void execute(Runnable command) {
          startTask();
          try {
            command.run();
          } finally {
            endTask();
          }
        }
    
        @Override
        public boolean isShutdown() {
          synchronized (lock) {
            return shutdown;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  3. operator/cmd/mesh/profile-diff.go

    	manifestsPath string
    }
    
    func addProfileDiffFlags(cmd *cobra.Command, args *profileDiffArgs) {
    	cmd.PersistentFlags().StringVarP(&args.manifestsPath, "charts", "", "", ChartsDeprecatedStr)
    	cmd.PersistentFlags().StringVarP(&args.manifestsPath, "manifests", "d", "", ManifestsFlagHelpStr)
    }
    
    func profileDiffCmd(pfArgs *profileDiffArgs) *cobra.Command {
    	return &cobra.Command{
    		Use:   "diff <profile|file1.yaml> <profile|file2.yaml>",
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  4. 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)
  5. istioctl/pkg/internaldebug/internal-debug.go

    					"config_distribution?resource=VirtualService/default/bookinfo")
    			}
    		}
    	}
    	return nil, nil
    }
    
    func DebugCommand(ctx cli.Context) *cobra.Command {
    	var opts clioptions.ControlPlaneOptions
    	var centralOpts clioptions.CentralControlPlaneOptions
    
    	debugCommand := &cobra.Command{
    		Use:   "internal-debug [<type>/]<name>[.<namespace>]",
    		Short: "Retrieves the debug information of istio",
    		Long: `
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  6. operator/cmd/mesh/manifest-diff.go

    			"e.g. Service:*:istiod->Service:*:istio-control - rename istiod service into istio-control")
    }
    
    func manifestDiffCmd(diffArgs *manifestDiffArgs) *cobra.Command {
    	cmd := &cobra.Command{
    		Use:   "diff <file|dir> <file|dir>",
    		Short: "Compare manifests and generate diff",
    		Long: "The diff subcommand compares manifests from two files or directories. The output is a list of\n" +
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  7. istioctl/pkg/workload/workload_test.go

    func TestWorkloadGroupCreate(t *testing.T) {
    	cases := []testcase{
    		{
    			description:       "Invalid command args - missing service name and namespace",
    			args:              strings.Split("group create", " "),
    			expectedException: true,
    			expectedOutput:    "Error: expecting a workload name\n",
    		},
    		{
    			description:       "Invalid command args - missing service name",
    			args:              strings.Split("group create -n bar", " "),
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  8. istioctl/pkg/proxystatus/proxystatus.go

    	data, err := io.ReadAll(file)
    	if err != nil {
    		return nil, err
    	}
    	return data, nil
    }
    
    func StableXdsStatusCommand(ctx cli.Context) *cobra.Command {
    	cmd := XdsStatusCommand(ctx)
    	unstableFlags := []string{"xds-via-agents", "xds-via-agents-limit"}
    	cmd.PreRunE = func(cmd *cobra.Command, args []string) error {
    		for _, flag := range unstableFlags {
    			if cmd.PersistentFlags().Changed(flag) {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. src/cmd/addr2line/addr2line_test.go

    package main
    
    import (
    	"bufio"
    	"bytes"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"sync"
    	"testing"
    )
    
    // TestMain executes the test binary as the addr2line command if
    // GO_ADDR2LINETEST_IS_ADDR2LINE is set, and runs the tests otherwise.
    func TestMain(m *testing.M) {
    	if os.Getenv("GO_ADDR2LINETEST_IS_ADDR2LINE") != "" {
    		main()
    		os.Exit(0)
    	}
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Feb 21 22:16:54 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  10. operator/cmd/mesh/profile-dump.go

    }
    
    func profileDumpCmd(pdArgs *profileDumpArgs) *cobra.Command {
    	return &cobra.Command{
    		Use:   "dump [<profile>]",
    		Short: "Dumps an Istio configuration profile",
    		Long:  "The dump subcommand dumps the values in an Istio configuration profile.",
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) > 1 {
    				return fmt.Errorf("too many positional arguments")
    			}
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 7.1K bytes
    - Viewed (0)
Back to top