Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 261 for into (0.12 sec)

  1. cmd/storage-errors.go

    	errDiskNotFound,
    	errFaultyDisk,
    	errFaultyRemoteDisk,
    }
    
    var baseIgnoredErrs = baseErrs
    
    // Is a one place function which converts all os.PathError
    // into a more FS object layer friendly form, converts
    // known errors into their typed form for top level
    // interpretation.
    func osErrToFileErr(err error) error {
    	if err == nil {
    		return nil
    	}
    	if osIsNotExist(err) {
    		return errFileNotFound
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  2. internal/crypto/auto-encryption.go

    )
    
    const (
    	// EnvKMSAutoEncryption is the environment variable used to en/disable
    	// SSE-S3 auto-encryption. SSE-S3 auto-encryption, if enabled,
    	// requires a valid KMS configuration and turns any non-SSE-C
    	// request into an SSE-S3 request.
    	// If present EnvAutoEncryption must be either "on" or "off".
    	EnvKMSAutoEncryption = "MINIO_KMS_AUTO_ENCRYPTION"
    )
    
    // LookupAutoEncryption returns true if and only if
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  3. internal/kms/key-manager.go

    	DeleteKey(ctx context.Context, keyID string) error
    
    	// ListKeys lists all key names.
    	ListKeys(ctx context.Context) (*kes.ListIter[string], error)
    
    	// ImportKey imports a cryptographic key into the KMS.
    	ImportKey(ctx context.Context, keyID string, bytes []byte) error
    
    	// EncryptKey Encrypts and authenticates a (small) plaintext with the cryptographic key
    	// The plaintext must not exceed 1 MB
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  4. internal/s3select/sql/value.go

    			return nil
    		}
    		floatA, _ := a.ToFloat()
    		v.setFloat(floatA)
    		return nil
    	}
    
    	intV, ok1i := v.ToInt()
    	intA, ok2i := a.ToInt()
    	if ok1i && ok2i {
    		result := intV
    		if !isMax {
    			if intA < result {
    				result = intA
    			}
    		} else {
    			if intA > result {
    				result = intA
    			}
    		}
    		v.setInt(result)
    		return nil
    	}
    
    	floatV, _ := v.ToFloat()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  5. internal/logger/targets.go

    		if l.Enabled {
    			t := kafka.New(l)
    			tgts = append(tgts, t)
    
    			e := t.Init(ctx)
    			if e != nil {
    				errs = append(errs, e)
    			}
    		}
    	}
    	return tgts, errs
    }
    
    // Split targets into two groups:
    //
    //	group1 contains all targets of type t
    //	group2 contains the remaining targets
    func splitTargets(targets []Target, t types.TargetType) (group1 []Target, group2 []Target) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 22:56:14 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  6. internal/s3select/simdj/record.go

    		if err != nil {
    			return nil, err
    		}
    		return sql.FromFloat(v), nil
    	case simdjson.TypeInt:
    		v, err := iter.Int()
    		if err != nil {
    			return nil, err
    		}
    		return sql.FromInt(v), nil
    	case simdjson.TypeUint:
    		v, err := iter.Int()
    		if err != nil {
    			// Can't fit into int, convert to float.
    			v, err := iter.Float()
    			return sql.FromFloat(v), err
    		}
    		return sql.FromInt(v), nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  7. internal/config/dns/operator_dns.go

    	if err != nil {
    		return "", err
    	}
    	q := u.Query()
    	q.Add("bucket", bucket)
    	q.Add("delete", strconv.FormatBool(delete))
    	u.RawQuery = q.Encode()
    	return u.String(), nil
    }
    
    // Put - Adds DNS entries into operator webhook server
    func (c *OperatorDNS) Put(bucket string) error {
    	ctx, cancel := context.WithTimeout(context.Background(), defaultOperatorContextTimeout)
    	defer cancel()
    	e, err := c.endpoint(bucket, false)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  8. internal/grid/types.go

    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message.
    func (b *Bytes) Msgsize() int {
    	if b == nil || *b == nil {
    		return msgp.NilSize
    	}
    	return msgp.ArrayHeaderSize + len(*b)
    }
    
    // Recycle puts the Bytes back into the pool.
    func (b *Bytes) Recycle() {
    	if b != nil && *b != nil {
    		*b = (*b)[:0]
    		PutByteBuffer(*b)
    		*b = nil
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  9. cmd/signature-v2_test.go

    		{
    			queryParams: map[string]string{},
    			expected:    ErrNone,
    		},
    	}
    
    	// Run each test case individually.
    	for i, testCase := range testCases {
    		// Turn the map[string]string into map[string][]string, because Go.
    		query := url.Values{}
    		for key, value := range testCase.queryParams {
    			query.Set(key, value)
    		}
    		// Create a request to use.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Oct 14 10:08:40 GMT 2022
    - 8K bytes
    - Viewed (0)
  10. cmd/tier-journal.go

    		if err != nil && !isErrObjectNotFound(err) {
    			logger.LogIf(ctx, fmt.Errorf("tier-journal: failed to delete transitioned object %s from %s due to %s", entry.ObjName, entry.TierName, err))
    			// We add the entry into the active journal to try again
    			// later.
    			jd.addEntry(entry)
    		}
    	}
    	if done {
    		os.Remove(jd.ReadOnlyPath())
    	}
    }
    
    Go
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
Back to top