Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 238 for ignored (0.23 sec)

  1. cmd/utils_test.go

    func TestIsErrIgnored(t *testing.T) {
    	errIgnored := fmt.Errorf("ignored error")
    	testCases := []struct {
    		err     error
    		ignored bool
    	}{
    		{
    			err:     nil,
    			ignored: false,
    		},
    		{
    			err:     errIgnored,
    			ignored: true,
    		},
    		{
    			err:     errFaultyDisk,
    			ignored: true,
    		},
    	}
    	for i, testCase := range testCases {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Feb 23 21:28:14 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  2. internal/logger/logger.go

    	if logIgnoreError(err) {
    		return
    	}
    	for _, ignore := range ignored {
    		if errors.Is(err, ignore) {
    			return
    		}
    	}
    	logIf(ctx, subsystem, err)
    }
    
    func errToEntry(ctx context.Context, subsystem string, err error, errKind ...interface{}) log.Entry {
    	var l string
    	if anonFlag {
    		l = reflect.TypeOf(err).String()
    	} else {
    		l = fmt.Sprintf("%v (%T)", err, err)
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  3. internal/crypto/header.go

    // functionality to handle SSE-C copy requests.
    var SSECopy = ssecCopy{}
    
    type ssecCopy struct{}
    
    // IsRequested returns true if the HTTP headers contains
    // at least one SSE-C copy header. Regular SSE-C headers
    // are ignored.
    func (ssecCopy) IsRequested(h http.Header) bool {
    	if _, ok := h[xhttp.AmzServerSideEncryptionCopyCustomerAlgorithm]; ok {
    		return true
    	}
    	if _, ok := h[xhttp.AmzServerSideEncryptionCopyCustomerKey]; ok {
    		return true
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  4. internal/crypto/sse-c.go

    // domain is "SSE-C".
    func (ssec) String() string { return "SSE-C" }
    
    // IsRequested returns true if the HTTP headers contains
    // at least one SSE-C header. SSE-C copy headers are ignored.
    func (ssec) IsRequested(h http.Header) bool {
    	if _, ok := h[xhttp.AmzServerSideEncryptionCustomerAlgorithm]; ok {
    		return true
    	}
    	if _, ok := h[xhttp.AmzServerSideEncryptionCustomerKey]; ok {
    		return true
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  5. cmd/os_windows.go

    				// It got deleted in the meantime, not found
    				// or returns too many symlinks ignore this
    				// file/directory.
    				if osIsNotExist(err) || isSysErrPathNotFound(err) ||
    					isSysErrTooManySymlinks(err) {
    					continue
    				}
    				return nil, err
    			}
    
    			if !opts.followDirSymlink && fi.IsDir() {
    				// directory symlinks are ignored.
    				continue
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  6. cmd/postpolicyform.go

    			}
    		}
    		delete(checkHeader, formCanonicalName)
    	}
    	// For SignV2 - Signature field will be ignored
    	// Policy is generated from Signature with other fields, so it should be ignored
    	if _, ok := formValues[xhttp.AmzSignatureV2]; ok {
    		delete(checkHeader, xhttp.AmzSignatureV2)
    	}
    
    	if len(checkHeader) != 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  7. internal/etag/etag_test.go

    		Multipart: must("9a0d1febd9265f59f368ceb652770bc2-3"),
    	},
    	{ // Check that multipart ETags are ignored
    		ETags:     []ETag{must("5f363e0e58a95f06cbe9bbc662c5dfb6"), must("5f363e0e58a95f06cbe9bbc662c5dfb6"), must("ceb8853ddc5086cc4ab9e149f8f09c88-1")},
    		Multipart: must("a7d414b9133d6483d9a1c4e04e856e3b-2"),
    	},
    	{ // Check that encrypted ETags are ignored
    		ETags: []ETag{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  8. docs/iam/access-management-plugin.md

    }
    ```
    
    The following structure is also accepted:
    
    ```json
    {
        "result": {
            "allow": true
        }
    }
    ```
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Dec 13 22:28:48 GMT 2022
    - 4.4K bytes
    - Viewed (0)
  9. cmd/erasure.go

    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/pkg/v2/sync/errgroup"
    )
    
    // list all errors that can be ignore in a bucket operation.
    var bucketOpIgnoredErrs = append(baseIgnoredErrs, errDiskAccessDenied, errUnformattedDisk)
    
    // list all errors that can be ignored in a bucket metadata operation.
    var bucketMetadataOpIgnoredErrs = append(bucketOpIgnoredErrs, errVolumeNotFound)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  10. internal/logger/target/http/http.go

    }
    
    // Target implements logger.Target and sends the json
    // format of a log entry to the configured http endpoint.
    // An internal buffer of logs is maintained but when the
    // buffer is full, new logs are just ignored and an error
    // is returned to the caller.
    type Target struct {
    	totalMessages  int64
    	failedMessages int64
    	status         int32
    
    	// Worker control
    	workers    int64
    	maxWorkers int64
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 14.9K bytes
    - Viewed (0)
Back to top