Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for moles (0.14 sec)

  1. internal/config/identity/openid/openid.go

    			h.Reset()
    			h.Write([]byte(provCfg.ClientSecret))
    			hashedSecret = base64.RawURLEncoding.EncodeToString(h.Sum(nil))
    		}
    		if arn != DummyRoleARN {
    			if res.Roles == nil {
    				res.Roles = make(map[string]madmin.OpenIDProviderSettings)
    			}
    			res.Roles[arn.String()] = madmin.OpenIDProviderSettings{
    				ClaimUserinfoEnabled: provCfg.ClaimUserinfo,
    				RolePolicy:           provCfg.RolePolicy,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  2. cmd/tier-last-day-stats.go

    	UpdatedAt time.Time
    }
    
    func (l *lastDayTierStats) addStats(ts tierStats) {
    	now := time.Now()
    	l.forwardTo(now)
    
    	nowIdx := now.Hour()
    	l.Bins[nowIdx] = l.Bins[nowIdx].add(ts)
    }
    
    // forwardTo moves time to t, clearing entries between last update and t.
    func (l *lastDayTierStats) forwardTo(t time.Time) {
    	if t.IsZero() {
    		t = time.Now()
    	}
    
    	since := t.Sub(l.UpdatedAt).Hours()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. docs/metrics/prometheus/README.md

    . . .
    ```
    
    Refer [Prometheus documentation](https://prometheus.io/docs/introduction/first_steps/) for more details.
    
    ### 2. Configure authentication type for Prometheus metrics
    
    MinIO supports two authentication modes for Prometheus either `jwt` or `public`, by default MinIO runs in `jwt` mode. To allow public access without authentication for prometheus metrics set environment as follows.
    
    ```
    export MINIO_PROMETHEUS_AUTH_TYPE="public"
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 15:49:30 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  4. cmd/iam.go

    		case <-ctx.Done():
    			return
    		}
    	}
    }
    
    func (sys *IAMSys) validateAndAddRolePolicyMappings(ctx context.Context, m map[arn.ARN]string) {
    	// Validate that policies associated with roles are defined. If
    	// authZ plugin is set, role policies are just claims sent to
    	// the plugin and they need not exist.
    	//
    	// If some mapped policies do not exist, we print some error
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  5. cmd/erasure-object.go

    		})
    	}
    	_, err = er.CompleteMultipartUpload(ctx, bucket, object, res.UploadID, uploadedParts, ObjectOptions{
    		MTime: oi.ModTime,
    	})
    	return setRestoreHeaderFn(oi, err)
    }
    
    // DecomTieredObject - moves tiered object to another pool during decommissioning.
    func (er erasureObjects) DecomTieredObject(ctx context.Context, bucket, object string, fi FileInfo, opts ObjectOptions) error {
    	if opts.UserDefined == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  6. cmd/erasure-server-pool.go

    				errs[idx] = err
    			}
    		}(idx, pool)
    	}
    	wg.Wait()
    	for _, err := range errs {
    		return err
    	}
    	return nil
    }
    
    // DecomTieredObject - moves tiered object to another pool during decommissioning.
    func (z *erasureServerPools) DecomTieredObject(ctx context.Context, bucket, object string, fi FileInfo, opts ObjectOptions) error {
    	object = encodeDirObject(object)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  7. cmd/bucket-object-lock.go

    				}
    
    				if !ret.RetainUntilDate.Before(t) {
    					return ObjectLocked{}
    				}
    				return nil
    			}
    			// https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html#object-lock-retention-modes
    			// If you try to delete objects protected by governance mode and have s3:BypassGovernanceRetention, the operation will succeed.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  8. cmd/admin-router.go

    			adminRouter.Methods(http.MethodDelete).Path(adminVersion + "/del-config-kv").HandlerFunc(adminMiddleware(adminAPI.DelConfigKVHandler))
    		}
    
    		// Enable config help in all modes.
    		adminRouter.Methods(http.MethodGet).Path(adminVersion+"/help-config-kv").HandlerFunc(adminMiddleware(adminAPI.HelpConfigKVHandler, traceAllFlag)).Queries("subSys", "{subSys:.*}", "key", "{key:.*}")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  9. internal/config/errors.go

    		  --address '172.16.34.31:9000'
    		  --address '[fe80::da00:a6c8:e3ae:ddd7]:9000'`,
    	)
    
    	ErrInvalidEndpoint = newErrFn(
    		"Invalid endpoint for single drive mode",
    		"Please check the endpoint",
    		`Single-Node modes requires absolute path without hostnames:
    Examples:
       $ minio server /data/minio/ #Single Node Single Drive
       $ minio server /data-{1...4}/minio # Single Node Multi Drive`,
    	)
    
    	ErrUnsupportedBackend = newErrFn(
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  10. cmd/sts-handlers.go

    func registerSTSRouter(router *mux.Router) {
    	// Initialize STS.
    	sts := &stsAPIHandlers{}
    
    	// STS Router
    	stsRouter := router.NewRoute().PathPrefix(SlashSeparator).Subrouter()
    
    	// Assume roles with no JWT, handles AssumeRole.
    	stsRouter.Methods(http.MethodPost).MatcherFunc(func(r *http.Request, rm *mux.RouteMatch) bool {
    		ctypeOk := wildcard.MatchSimple("application/x-www-form-urlencoded*", r.Header.Get(xhttp.ContentType))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
Back to top