Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 81 for helper (0.14 sec)

  1. internal/grid/grid_test.go

    	"strings"
    	"testing"
    	"time"
    
    	"github.com/minio/minio/internal/logger/target/testlogger"
    )
    
    func TestSingleRoundtrip(t *testing.T) {
    	defer testlogger.T.SetLogTB(t)()
    	errFatal := func(err error) {
    		t.Helper()
    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    	grid, err := SetupTestGrid(2)
    	errFatal(err)
    	remoteHost := grid.Hosts[1]
    	local := grid.Managers[0]
    
    	// 1: Echo
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:03:35 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  2. cmd/update.go

    //
    // Any change here should be discussed by opening an issue at
    // https://github.com/minio/minio/issues.
    func getUserAgent(mode string) string {
    	userAgentParts := []string{}
    	// Helper function to concisely append a pair of strings to a
    	// the user-agent slice.
    	uaAppend := func(p, q string) {
    		userAgentParts = append(userAgentParts, p, q)
    	}
    	uaAppend(MinioUAName, " (")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  3. helm-releases/minio-5.0.15.tgz

    initialize: |- {{- include (print $.Template.BasePath "/_helper_create_bucket.txt") . | nindent 4 }} add-user: |- {{- include (print $.Template.BasePath "/_helper_create_user.txt") . | nindent 4 }} add-policy: |- {{- include (print $.Template.BasePath "/_helper_create_policy.txt") . | nindent 4 }} {{- range $idx, $policy := .Values.policies }} # Policy: {{ $policy.name }} policy_{{ $idx }}.json: |- {{- include (print $.Template.BasePath "/_helper_policy.tpl") . | nindent 4 }} {{ end }} {{- range $idx,...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Jan 12 18:18:57 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  4. helm-releases/minio-5.1.0.tgz

    initialize: |- {{- include (print $.Template.BasePath "/_helper_create_bucket.txt") . | nindent 4 }} add-user: |- {{- include (print $.Template.BasePath "/_helper_create_user.txt") . | nindent 4 }} add-policy: |- {{- include (print $.Template.BasePath "/_helper_create_policy.txt") . | nindent 4 }} {{- range $idx, $policy := .Values.policies }} # Policy: {{ $policy.name }} policy_{{ $idx }}.json: |- {{- include (print $.Template.BasePath "/_helper_policy.tpl") . | nindent 4 }} {{ end }} {{- range $idx,...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 03 18:49:37 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  5. cmd/object-multipart-handlers.go

    			writeErrorResponse(ctx, w, toAPIError(ctx, crypto.ErrIncompatibleEncryptionMethod), r.URL)
    			return
    		}
    
    		if crypto.SSEC.IsRequested(r.Header) && isCompressible(r.Header, object) {
    			writeErrorResponse(ctx, w, toAPIError(ctx, crypto.ErrIncompatibleEncryptionWithCompression), r.URL)
    			return
    		}
    
    		_, sourceReplReq := r.Header[xhttp.MinIOSourceReplicationRequest]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  6. cmd/auth-handler.go

    				// header, for all requests where Date header is not
    				// present we will reject such clients.
    				defer logger.AuditLog(r.Context(), w, r, mustGetClaimsFromToken(r))
    				writeErrorResponse(r.Context(), w, errorCodes.ToAPIErr(errCode), r.URL)
    				atomic.AddUint64(&globalHTTPStats.rejectedRequestsTime, 1)
    				return
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  7. internal/hash/checksum.go

    	c, err := GetContentChecksum(r.Header)
    	if err != nil || c == nil {
    		return
    	}
    	t, s := c.Type, c.Encoded
    	if !c.Type.IsSet() {
    		return
    	}
    	if c.Type.Is(ChecksumTrailing) {
    		val := r.Trailer.Get(t.Key())
    		if val != "" {
    			w.Header().Set(t.Key(), val)
    		}
    		return
    	}
    	w.Header().Set(t.Key(), s)
    }
    
    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)
  8. docs/debugging/xl-meta/main.go

    				}
    				type version struct {
    					Idx      int
    					Header   json.RawMessage
    					Metadata json.RawMessage
    				}
    				versions := make([]version, hdr.versions)
    				headerVer := hdr.headerVer
    				err = decodeVersions(v, hdr.versions, func(idx int, hdr, meta []byte) error {
    					var header xlMetaV2VersionHeaderV2
    					if _, err := header.UnmarshalMsg(hdr, headerVer); err != nil {
    						return err
    					}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  9. cmd/batch-job-common-types_gen.go

    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z BatchJobKV) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 2
    	// write "Key"
    	err = en.Append(0x82, 0xa3, 0x4b, 0x65, 0x79)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Key)
    	if err != nil {
    		err = msgp.WrapError(err, "Key")
    		return
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  10. cmd/site-replication-metrics_gen.go

    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 4
    	// string "LastHour"
    	o = append(o, 0x84, 0xa8, 0x4c, 0x61, 0x73, 0x74, 0x48, 0x6f, 0x75, 0x72)
    	o, err = z.LastHour.MarshalMsg(o)
    	if err != nil {
    		err = msgp.WrapError(err, "LastHour")
    		return
    	}
    	// string "SinceUptime"
    	o = append(o, 0xab, 0x53, 0x69, 0x6e, 0x63, 0x65, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65)
    	// map header, size 2
    	// string "Count"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 40.6K bytes
    - Viewed (0)
Back to top