Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 101 for containers (0.16 sec)

  1. cmd/generic-handlers_test.go

    	for _, test := range containsReservedMetadataTests {
    		test := test
    		t.Run("", func(t *testing.T) {
    			contains := containsReservedMetadata(test.header)
    			if contains && !test.shouldFail {
    				t.Errorf("contains reserved header but should not fail")
    			} else if !contains && test.shouldFail {
    				t.Errorf("does not contain reserved header but failed")
    			}
    		})
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  2. Makefile

    docker-hotfix-push: docker-hotfix
    	@docker push -q $(TAG) && echo "Published new container $(TAG)"
    
    docker-hotfix: hotfix-push checks ## builds minio docker container with hotfix tags
    	@echo "Building minio docker image '$(TAG)'"
    	@docker build -q --no-cache -t $(TAG) --build-arg RELEASE=$(VERSION) . -f Dockerfile.hotfix
    
    docker: build ## builds minio docker container
    	@echo "Building minio docker image '$(TAG)'"
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 10.3K bytes
    - Viewed (1)
  3. cmd/sts-handlers_test.go

    		c.Fatal("AddUser() for root credential must fail via root STS creds")
    	}
    }
    
    // SetUpLDAP - expects to setup an LDAP test server using the test LDAP
    // container and canned data from https://github.com/minio/minio-ldap-testing
    func (s *TestSuiteIAM) SetUpLDAP(c *check, serverAddr string) {
    	ctx, cancel := context.WithTimeout(context.Background(), testDefaultTimeout)
    	defer cancel()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  4. internal/logger/targets.go

    			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) {
    	for _, target := range targets {
    		if target.Type() == t {
    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)
  5. internal/grid/README.md

    and furthermore provides reuse of the structs used for the request and response.
    
    Note that Responses sent for serialization are automatically reused for similar requests.
    If the response contains shared data it will cause issues, since each unique response is reused.
    To disable this behavior, use `(SingleHandler).WithSharedResponse()` to disable it.
    
    ## Streaming Requests
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  6. cmd/server_test.go

    	"sync"
    	"testing"
    	"time"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/minio-go/v7/pkg/set"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/pkg/v2/policy"
    )
    
    // API suite container common to both ErasureSD and Erasure.
    type TestSuiteCommon struct {
    	serverType string
    	testServer TestServer
    	endPoint   string
    	accessKey  string
    	secretKey  string
    	signer     signerType
    	secure     bool
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  7. cmd/kms-handlers.go

    		return
    	}
    	keys, err := manager.ListKeys(ctx)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	pattern := r.Form.Get("pattern")
    	if !strings.Contains(pattern, "*") {
    		pattern += "*"
    	}
    
    	var values []kes.KeyInfo
    	for name, err := keys.SeekTo(ctx, pattern); err != io.EOF; name, err = keys.Next(ctx) {
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  8. internal/grid/trace.go

    			},
    			CallStats: madmin.TraceCallStats{
    				InputBytes:      len(req),
    				OutputBytes:     len(resp),
    				TimeToFirstByte: end.Sub(start),
    			},
    		},
    	}
    	// If the context contains a TraceParamsKey, add it to the trace path.
    	v := ctx.Value(TraceParamsKey{})
    	// Should match SingleHandler.Call checks.
    	switch typed := v.(type) {
    	case *MSS:
    		trace.Path += typed.ToQuery()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 02 22:54:54 GMT 2024
    - 4K bytes
    - Viewed (0)
  9. internal/hash/checksum.go

    	logger.LogIf(ctx, "hash", err)
    }
    
    // MinIOMultipartChecksum is as metadata on multipart uploads to indicate checksum type.
    const MinIOMultipartChecksum = "x-minio-multipart-checksum"
    
    // ChecksumType contains information about the checksum type.
    type ChecksumType uint32
    
    const (
    
    	// ChecksumTrailing indicates the checksum will be sent in the trailing header.
    	// Another checksum type will be set.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  10. internal/logger/console.go

    	tagPrinted := false
    
    	// Print the error message: the following code takes care
    	// of splitting error text and always pretty printing the
    	// red banner along with the error message. Since the error
    	// message itself contains some colored text, we needed
    	// to use some ANSI control escapes to cursor color state
    	// and freely move in the screen.
    	for _, line := range strings.Split(errMsg, "\n") {
    		if len(line) == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top