Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 314 for Condition (0.18 sec)

  1. istioctl/pkg/waypoint/waypoint_test.go

    func makeGateway(name, namespace string, programmed, isWaypoint bool) *gateway.Gateway {
    	conditions := make([]metav1.Condition, 0)
    	if programmed {
    		conditions = append(conditions, metav1.Condition{
    			Type:   string(gateway.GatewayConditionProgrammed),
    			Status: kstatus.StatusTrue,
    		})
    	} else {
    		conditions = append(conditions, metav1.Condition{
    			Type:   string(gateway.GatewayConditionProgrammed),
    			Status: kstatus.StatusFalse,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 04 15:53:09 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  2. cmd/postpolicyform_test.go

    			success: false,
    		},
    		// duplicate conditions, reject
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 8.9K bytes
    - Viewed (0)
  3. internal/s3select/sql/utils.go

    // the path. Otherwise it returns false.
    func getLastKeypathComponent(e *Expression) (string, bool) {
    	if len(e.And) > 1 ||
    		len(e.And[0].Condition) > 1 ||
    		e.And[0].Condition[0].Not != nil ||
    		e.And[0].Condition[0].Operand.ConditionRHS != nil {
    		return "", false
    	}
    
    	operand := e.And[0].Condition[0].Operand.Operand
    	if operand.Right != nil ||
    		operand.Left.Right != nil ||
    		operand.Left.Left.Negated != nil ||
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 10 16:12:50 GMT 2021
    - 3.6K bytes
    - Viewed (0)
  4. cmd/post-policy_test.go

    	// Add the bucket condition, only accept buckets equal to the one passed.
    	bucketConditionStr := fmt.Sprintf(`["eq", "$bucket", "%s"]`, bucketName)
    	// Add the key condition, only accept keys equal to the one passed.
    	keyConditionStr := fmt.Sprintf(`["eq", "$key", "%s/upload.txt"]`, objectKey)
    	// Add content length condition, only accept content sizes of a given length.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  5. cni/pkg/cmd/root.go

    	// Repair
    	registerBooleanParameter(constants.RepairEnabled, true, "Whether to enable race condition repair or not")
    	registerBooleanParameter(constants.RepairDeletePods, false, "Controller will delete pods when detecting pod broken by race condition")
    	registerBooleanParameter(constants.RepairLabelPods, false, "Controller will label pods when detecting pod broken by race condition")
    	registerStringParameter(constants.RepairLabelKey, "cni.istio.io/uninitialized",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  6. internal/config/cache/cache.go

    type Config struct {
    	// Flag indicating whether cache is enabled.
    	Enable bool `json:"enable"`
    
    	// Endpoint for caching uses remote mcache server to
    	// store and retrieve pre-condition check entities such as
    	// Etag and ModTime of an object + version
    	Endpoint string `json:"endpoint"`
    
    	// BlockSize indicates the maximum object size below which
    	// data is cached and fetched remotely from DRAM.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  7. tests/upsert_test.go

    		Name string `gorm:"column:name"`
    	}
    	user := User{ID: 1, Name: "king"}
    	tx := DB.Session(&gorm.Session{DryRun: true}).Save(&user)
    
    	if err := tx.Error; err != nil {
    		t.Fatalf("failed to update user,missing where condition,err=%+v", err)
    	}
    
    	if !regexp.MustCompile("WHERE .id. = [^ ]+$").MatchString(tx.Statement.SQL.String()) {
    		t.Fatalf("invalid updating SQL, got %v", tx.Statement.SQL.String())
    	}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Sep 05 07:39:19 GMT 2022
    - 11.4K bytes
    - Viewed (0)
  8. cmd/policy_test.go

    				policy.NewResourceSet(policy.NewResource("mybucket")),
    				condition.NewFunctions(),
    			),
    			policy.NewBPStatement("",
    				policy.Allow,
    				policy.NewPrincipal("*"),
    				policy.NewActionSet(policy.PutObjectAction),
    				policy.NewResourceSet(policy.NewResource("mybucket/myobject*")),
    				condition.NewFunctions(),
    			),
    		},
    	}
    
    	anonGetBucketLocationArgs := policy.BucketPolicyArgs{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  9. chainable_api.go

    //
    // [docs]: https://gorm.io/docs/query.html#Conditions
    func (db *DB) Where(query interface{}, args ...interface{}) (tx *DB) {
    	tx = db.getInstance()
    	if conds := tx.Statement.BuildCondition(query, args...); len(conds) > 0 {
    		tx.Statement.AddClause(clause.Where{Exprs: conds})
    	}
    	return
    }
    
    // Not add NOT conditions
    //
    // Not works similarly to where, and has the same syntax.
    //
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  10. internal/s3select/sql/statement.go

    		selectAST.Expression.Expressions[0].Expression.And[0].Condition[0].Operand != nil &&
    		selectAST.Expression.Expressions[0].Expression.And[0].Condition[0].Operand.Operand.Left != nil &&
    		selectAST.Expression.Expressions[0].Expression.And[0].Condition[0].Operand.Operand.Left.Left != nil &&
    		selectAST.Expression.Expressions[0].Expression.And[0].Condition[0].Operand.Operand.Left.Left.Primary != nil &&
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 09 17:19:11 GMT 2024
    - 8.9K bytes
    - Viewed (0)
Back to top