Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for args2 (0.12 sec)

  1. istioctl/pkg/proxyconfig/proxyconfig.go

    `,
    		Aliases: []string{"clusters", "c"},
    		Args: func(cmd *cobra.Command, args []string) error {
    			if (len(args) == 1) != (configDumpFile == "") {
    				cmd.Println(cmd.UsageString())
    				return fmt.Errorf("cluster requires pod name or --file parameter")
    			}
    			return nil
    		},
    		RunE: func(c *cobra.Command, args []string) error {
    			kubeClient, err := ctx.CLIClient()
    			if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  2. istioctl/pkg/describe/describe.go

    		Short:   "Describe resource and related Istio configuration",
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) != 0 {
    				return fmt.Errorf("unknown resource type %q", args[0])
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			describeNamespace = ctx.NamespaceOrDefault(ctx.Namespace())
    			cmd.HelpFunc()(cmd, args)
    			return nil
    		},
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  3. cmd/iam.go

    	if hasSessionPolicy {
    		return isAllowedSP && (isOwnerDerived || combinedPolicy.IsAllowed(args))
    	}
    
    	// Sub policy not set, this is most common since subPolicy
    	// is optional, use the inherited policies.
    	return isOwnerDerived || combinedPolicy.IsAllowed(args)
    }
    
    func isAllowedBySessionPolicyForServiceAccount(args policy.Args) (hasSessionPolicy bool, isAllowed bool) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    		value = defaultCC(goos, goarch)
    	}
    	args, err := quoted.Split(value)
    	if err != nil {
    		return nil, err
    	}
    	if len(args) == 0 {
    		return nil, errors.New("CC not set and no default found")
    	}
    	if _, err := exec.LookPath(args[0]); err != nil {
    		return nil, fmt.Errorf("C compiler %q not found: %v", args[0], err)
    	}
    	return args[:len(args):len(args)], nil
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    	if err != nil {
    		args.t.Fatalf("Initialization of object layer failed for Erasure setup: %s", err)
    	}
    	defer objLayer.Shutdown(ctx)
    
    	bucketErasure, erAPIRouter, err := initAPIHandlerTest(ctx, objLayer, args.endpoints, args.makeBucketOptions)
    	if err != nil {
    		args.t.Fatalf("Initialization of API handler tests failed: <ERROR> %s", err)
    	}
    
    	if args.init != nil {
    		args.init()
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

        }
    
        public static void main(String[] args) {
            int result = main(args, null);
    
            System.exit(result);
        }
    
        public static int main(String[] args, ClassWorld classWorld) {
            MavenCli cli = new MavenCli();
    
            MessageUtils.systemInstall();
            MessageUtils.registerShutdownHook();
            int result = cli.doMain(new CliRequest(args, classWorld));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  7. docs/bucket/notifications/README.md

    ```
    KEY:
    notify_amqp[:name]  publish bucket notifications to AMQP endpoints
    
    ARGS:
    url*           (url)       AMQP server endpoint e.g. `amqp://myuser:mypassword@localhost:5672`
    exchange       (string)    name of the AMQP exchange
    exchange_type  (string)    AMQP exchange type
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users.go

    		return
    	}
    
    	args := policy.Args{
    		AccountName:     cred.AccessKey,
    		Groups:          cred.Groups,
    		Action:          policy.ListTemporaryAccountsAdminAction,
    		ConditionValues: getConditionValues(r, "", cred),
    		IsOwner:         owner,
    		Claims:          cred.Claims,
    	}
    
    	if !globalIAMSys.IsAllowed(args) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  9. pom.xml

    			</activation>
    			<properties>
    				<test.include.path>**/*Test.java</test.include.path>
    				<test.command.args>--illegal-access=permit</test.command.args>
    			</properties>
    		</profile>
    		<profile>
    			<id>integrationTests</id>
    			<properties>
    				<test.include.path>**/*Tests.java</test.include.path>
    				<test.command.args />
    			</properties>
    		</profile>
    	</profiles>
    	<build>
    		<finalName>fess</finalName>
    		<resources>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 02:16:03 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  10. cmd/bucket-handlers.go

    		n := 0
    		// Use the following trick to filter in place
    		// https://github.com/golang/go/wiki/SliceTricks#filter-in-place
    		for _, bucketInfo := range bucketsInfo {
    			if globalIAMSys.IsAllowed(policy.Args{
    				AccountName:     cred.AccessKey,
    				Groups:          cred.Groups,
    				Action:          policy.ListBucketAction,
    				BucketName:      bucketInfo.Name,
    				ConditionValues: getConditionValues(r, "", cred),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
Back to top