Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Expand (0.19 sec)

  1. internal/event/name.go

    	Everything
    )
    
    // The number of single names should not exceed 64.
    // This will break masking. Use bit 63 as extension.
    var _ = uint64(1 << objectSingleTypesEnd)
    
    // Expand - returns expanded values of abbreviated event type.
    func (name Name) Expand() []Name {
    	switch name {
    
    	case ObjectAccessedAll:
    		return []Name{
    			ObjectAccessedGet, ObjectAccessedHead,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. cmd/endpoint-ellipses.go

    				}
    				for _, exp := range patterns.Expand() {
    					for _, ep := range exp {
    						if err := endpointsList.add(ep); err != nil {
    							return layout, err
    						}
    					}
    				}
    			case ellipses.HasEllipses(arg):
    				patterns, err := ellipses.FindEllipsesPatterns(arg)
    				if err != nil {
    					return layout, err
    				}
    				for _, exp := range patterns.Expand() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool-rebalance.go

    // due to a missing new pool. This function tries to handle this
    // scenario, albeit rare it seems to have occurred in the wild.
    //
    // since we do not explicitly disallow it, but it is okay for them
    // expand and then we continue to rebalance.
    func (z *erasureServerPools) updateRebalanceStats(ctx context.Context) error {
    	var ok bool
    	for i := range z.serverPools {
    		if z.findIndex(i) == -1 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  4. internal/event/name_test.go

    		{ObjectAccessedHead, []Name{ObjectAccessedHead}},
    	}
    
    	for i, testCase := range testCases {
    		result := testCase.name.Expand()
    
    		if !reflect.DeepEqual(result, testCase.expectedResult) {
    			t.Errorf("test %v: result: expected: %v, got: %v", i+1, testCase.expectedResult, result)
    		}
    	}
    }
    
    func TestNameString(t *testing.T) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  5. cmd/common-main.go

    				continue
    			}
    			patterns, err := ellipses.FindEllipsesPatterns(endpoint)
    			if err != nil {
    				logger.Fatal(err, fmt.Sprintf("Invalid KES endpoint %q", endpoint))
    			}
    			for _, lbls := range patterns.Expand() {
    				endpoints = append(endpoints, strings.Join(lbls, ""))
    			}
    		}
    		rootCAs, err := certs.GetRootCAs(env.Get(kms.EnvKESServerCA, globalCertsCADir.Get()))
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  6. cmd/erasure-healing.go

    			}
    			return nil
    		}, index)
    	}
    	return reduceReadQuorumErrs(ctx, g.Wait(), bucketMetadataOpIgnoredErrs, readQuorum)
    }
    
    // Only heal on disks where we are sure that healing is needed. We can expand
    // this list as and when we figure out more errors can be added to this list safely.
    func shouldHealObjectOnDisk(erErr, dataErr error, meta FileInfo, latestMeta FileInfo) bool {
    	switch {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  7. helm-releases/minio-5.2.0.tgz

    $v }} "{{ $operator }}": { {{ $object }} }{{- if lt $k $condition_len }},{{- end }} {{- end }}{{- end }} }{{- end }} }{{ if lt $i $statements_length }},{{end }} {{- end }} ] } minio/templates/_helpers.tpl {{/* vim: set filetype=mustache: */}} {{/* Expand the name of the chart. */}} {{- define "minio.name" -}} {{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} {{- end -}} {{/* Create a default fully qualified app name. We truncate at 63 chars because some Kubernetes name fields...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 10:14:37 GMT 2024
    - 21.7K bytes
    - Viewed (0)
Back to top