Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 578 for Args (5.89 sec)

  1. istioctl/pkg/proxyconfig/proxyconfig_test.go

    	}
    
    	if c.wantException {
    		if fErr == nil {
    			t.Fatalf("Wanted an exception for 'istioctl %s', didn't get one, output was %q",
    				strings.Join(c.args, " "), output)
    		}
    	} else {
    		if fErr != nil {
    			t.Fatalf("Unwanted exception for 'istioctl %s': %v", strings.Join(c.args, " "), fErr)
    		}
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  2. cmd/lock-rest-client.go

    func (c *lockRESTClient) RLock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) {
    	return c.call(ctx, lockRPCRLock, &args)
    }
    
    // Lock calls lock REST API.
    func (c *lockRESTClient) Lock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) {
    	return c.call(ctx, lockRPCLock, &args)
    }
    
    // RUnlock calls read unlock REST API.
    func (c *lockRESTClient) RUnlock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 24 17:07:14 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  3. istioctl/pkg/wait/wait_test.go

    		{
    			execClientConfig: cannedResponseMap,
    			args:             strings.Split("--generation=2 --timeout=20ms virtual-service foo.default", " "),
    			wantException:    true,
    		},
    		{
    			execClientConfig: cannedResponseMap,
    			args:             strings.Split("--generation=1 virtual-service foo.default", " "),
    			wantException:    false,
    		},
    		{
    			execClientConfig: cannedResponseMap,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  4. internal/config/policy/plugin/config.go

    	}
    	if err = args.Validate(); err != nil {
    		return args, err
    	}
    	return args, nil
    }
    
    // New - initializes Authorization Management Plugin.
    func New(args Args) *AuthZPlugin {
    	if args.URL == nil || args.URL.Scheme == "" && args.AuthToken == "" {
    		return nil
    	}
    	return &AuthZPlugin{
    		args:   args,
    		client: &http.Client{Transport: args.Transport},
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 14 21:50:16 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/lex/input.go

    	var args [][]Token
    	// One macro argument per iteration. Collect them all and check counts afterwards.
    	for argNum := 0; ; argNum++ {
    		tokens, tok := in.collectArgument(macro)
    		args = append(args, tokens)
    		if tok == ')' {
    			break
    		}
    	}
    	// Zero-argument macros are tricky.
    	if len(macro.args) == 0 && len(args) == 1 && args[0] == nil {
    		args = nil
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  6. internal/config/policy/opa/config.go

    	}
    	args = Args{
    		URL:         u,
    		AuthToken:   authToken,
    		Transport:   transport,
    		CloseRespFn: closeRespFn,
    	}
    	if err = args.Validate(); err != nil {
    		return args, err
    	}
    	return args, nil
    }
    
    // New - initializes opa policy engine connector.
    func New(args Args) *Opa {
    	// No opa args.
    	if args.URL == nil || args.URL.Scheme == "" && args.AuthToken == "" {
    		return nil
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 14 21:50:16 GMT 2023
    - 5.2K bytes
    - Viewed (1)
  7. internal/event/target/kafka.go

    	}
    
    	config.Net.KeepAlive = 60 * time.Second
    	config.Net.SASL.User = args.SASL.User
    	config.Net.SASL.Password = args.SASL.Password
    	initScramClient(args, config) // initializes configured scram client.
    	config.Net.SASL.Enable = args.SASL.Enable
    
    	tlsConfig, err := saramatls.NewConfig(args.TLS.ClientTLSCert, args.TLS.ClientTLSKey)
    	if err != nil {
    		target.loggerOnce(context.Background(), err, target.ID().String())
    		return err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 13K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/TestLocking.java

                    t.numThreads = Integer.parseInt(args[ai]);
                } else if (args[ai].equals("-i")) {
                    ai++;
                    t.numIter = Integer.parseInt(args[ai]);
                } else if (args[ai].equals("-d")) {
                    ai++;
                    t.delay = Long.parseLong(args[ai]);
                } else {
                    t.url = args[ai];
                }
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.4K bytes
    - Viewed (0)
  9. internal/event/target/webhook.go

    }
    
    // Only called from init()
    func (target *WebhookTarget) initWebhook() error {
    	args := target.args
    	transport := target.transport
    
    	if args.ClientCert != "" && args.ClientKey != "" {
    		manager, err := certs.NewManager(context.Background(), args.ClientCert, args.ClientKey, tls.LoadX509KeyPair)
    		if err != nil {
    			return err
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 20 22:40:07 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  10. internal/event/target/mysql.go

    		}
    	}
    
    	if args.DSN == "" {
    		config := mysql.Config{
    			User:                 args.User,
    			Passwd:               args.Password,
    			Net:                  "tcp",
    			Addr:                 args.Host.String() + ":" + args.Port,
    			DBName:               args.Database,
    			AllowNativePasswords: true,
    			CheckConnLiveness:    true,
    		}
    
    		args.DSN = config.FormatDSN()
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 11.5K bytes
    - Viewed (0)
Back to top