Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 938 for Nil$ (0.03 sec)

  1. internal/kms/secret-key.go

    			return nil, err
    		}
    	default:
    		return nil, ErrDecrypt
    	}
    
    	associatedData, _ := req.AssociatedData.MarshalText()
    	plaintext, err := aead.Open(nil, nonce, ciphertext, associatedData)
    	if err != nil {
    		return nil, ErrDecrypt
    	}
    	return plaintext, nil
    }
    
    func (secretKey) MAC(context.Context, *MACRequest) ([]byte, error) {
    	return nil, ErrNotSupported
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. cmd/bootstrap-peer-server.go

    func (client *bootstrapRESTClient) Verify(ctx context.Context, srcCfg *ServerSystemConfig) (err error) {
    	if newObjectLayerFn() != nil {
    		return nil
    	}
    
    	recvCfg, err := serverVerifyHandler.Call(ctx, client.gridConn, grid.NewMSS())
    	if err != nil {
    		return err
    	}
    	// We do not need the response after returning.
    	defer serverVerifyHandler.PutResponse(recvCfg)
    
    	return srcCfg.Diff(recvCfg)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. cmd/sftp-server-driver.go

    	if !flags.Write {
    		// sanity check
    		return nil, os.ErrInvalid
    	}
    
    	bucket, object := path2BucketObject(r.Filepath)
    	if bucket == "" {
    		return nil, errors.New("bucket name cannot be empty")
    	}
    
    	clnt, err := f.getMinIOClient()
    	if err != nil {
    		return nil, err
    	}
    	ok, err := clnt.BucketExists(r.Context(), bucket)
    	if err != nil {
    		return nil, err
    	}
    	if !ok {
    		return nil, os.ErrNotExist
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. cmd/tier.go

    	b, err := config.Bytes()
    	if err != nil {
    		return nil, nil, err
    	}
    
    	payloadSize := int64(len(b))
    	br := bytes.NewReader(b)
    	hr, err := hash.NewReader(ctx, br, payloadSize, "", "", payloadSize)
    	if err != nil {
    		return nil, nil, err
    	}
    	if GlobalKMS == nil {
    		return NewPutObjReader(hr), &ObjectOptions{MaxParity: true}, nil
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  5. cmd/object-api-datatypes_gen.go

    		case "ActualSize":
    			if msgp.IsNil(bts) {
    				bts, err = msgp.ReadNilBytes(bts)
    				if err != nil {
    					return
    				}
    				z.ActualSize = nil
    			} else {
    				if z.ActualSize == nil {
    					z.ActualSize = new(int64)
    				}
    				*z.ActualSize, bts, err = msgp.ReadInt64Bytes(bts)
    				if err != nil {
    					err = msgp.WrapError(err, "ActualSize")
    					return
    				}
    			}
    		case "IsDir":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  6. buildscripts/heal-manual.go

    	}
    
    	start, _, err := madmClnt.Heal(context.Background(), "healing-rewrite-bucket", "", opts, "", false, false)
    	if err != nil {
    		log.Fatalln(err)
    	}
    	fmt.Println("Healstart sequence ===")
    	enc := json.NewEncoder(os.Stdout)
    	if err = enc.Encode(&start); err != nil {
    		log.Fatalln(err)
    	}
    
    	fmt.Println()
    	for {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 27 09:47:58 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. tests/query_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	users := [2]*User{{Name: "1"}, {Name: "2"}}
    	err = DB.Model(&User{}).Where("name = ?", "testname1").Find(&users).Error
    	if err != nil {
    		t.Fatal(err)
    	}
    	if users[0] == nil || users[0].Name != "testname1" {
    		t.Error("users[0] not covered")
    	}
    	if users[1] != nil {
    		t.Error("users[1] should be empty")
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  8. internal/kms/conn.go

    	// MAC generates the checksum of the given req.Message using the key
    	// with the req.Name at the KMS.
    	MAC(context.Context, *MACRequest) ([]byte, error)
    }
    
    var ( // compiler checks
    	_ conn = (*kmsConn)(nil)
    	_ conn = (*kesConn)(nil)
    	_ conn = secretKey{}
    )
    
    // Supported KMS types
    const (
    	MinKMS  Type = iota + 1 // MinIO KMS
    	MinKES                  // MinIO MinKES
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. internal/s3select/sql/timestampfuncs.go

    	case timePartYear:
    		return FromInt(int64(t.Year())), nil
    	case timePartMonth:
    		return FromInt(int64(t.Month())), nil
    	case timePartDay:
    		return FromInt(int64(t.Day())), nil
    	case timePartHour:
    		return FromInt(int64(t.Hour())), nil
    	case timePartMinute:
    		return FromInt(int64(t.Minute())), nil
    	case timePartSecond:
    		return FromInt(int64(t.Second())), nil
    	case timePartTimezoneHour:
    		_, zoneOffset := t.Zone()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  10. internal/config/lambda/parse.go

    			return nil, err
    		}
    		for id, args := range webhookTargets {
    			if !args.Enable {
    				continue
    			}
    			t, err := target.NewWebhookTarget(ctx, id, args, logOnceIf, transport)
    			if err != nil {
    				return nil, err
    			}
    			targets = append(targets, t)
    		}
    	}
    	return targets, nil
    }
    
    // FetchEnabledTargets - Returns a set of configured TargetList
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top