Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for injected (0.19 sec)

  1. cmd/globals.go

    	diskMinInodes = 1000
    
    	// tlsClientSessionCacheSize is the cache size for client sessions.
    	tlsClientSessionCacheSize = 100
    )
    
    func init() {
    	// Injected to prevent circular dependency.
    	pubsub.GetByteBuffer = grid.GetByteBuffer
    }
    
    type poolDisksLayout struct {
    	cmdline string
    	layout  [][]string
    }
    
    type disksLayout struct {
    	legacy bool
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  2. cmd/os-instrumented.go

    	osMetricStat
    	osMetricAccess
    	osMetricCreate
    	osMetricReadDirent
    	osMetricFdatasync
    	osMetricSync
    
    	// .... add more
    
    	osMetricLast
    )
    
    var globalOSMetrics osMetrics
    
    func init() {
    	// Inject metrics.
    	ioutilx.OsOpenFile = OpenFile
    	ioutilx.OpenFileDirectIO = OpenFileDirectIO
    	ioutilx.OsOpen = Open
    }
    
    type osMetrics struct {
    	// All fields must be accessed atomically and aligned.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  3. docs/docker/README.md

    `MINIO_ROOT_USER_FILE` and `MINIO_ROOT_PASSWORD_FILE` also support custom absolute paths, in case Docker secrets are mounted to custom locations or other tools are used to mount secrets into the container. For example, HashiCorp Vault injects secrets to `/vault/secrets`. With the custom names above, set the environment variables to
    
    ```
    MINIO_ROOT_USER_FILE=/vault/secrets/my_access_key
    MINIO_ROOT_PASSWORD_FILE=/vault/secrets/my_secret_key
    ```
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  4. cmd/metrics-v2.go

    		Help:      "Total number of S3 requests rejected for auth failure",
    		Type:      counterMetric,
    	}
    }
    
    func getS3RejectedHeaderRequestsTotalMD() MetricDescription {
    	return MetricDescription{
    		Namespace: s3MetricNamespace,
    		Subsystem: requestsRejectedSubsystem,
    		Name:      headerTotal,
    		Help:      "Total number of S3 requests rejected for invalid header",
    		Type:      counterMetric,
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  5. cmd/auth-handler.go

    }
    
    // checkAdminRequestAuth checks for authentication and authorization for the incoming
    // request. It only accepts V2 and V4 requests. Presigned, JWT and anonymous requests
    // are automatically rejected.
    func checkAdminRequestAuth(ctx context.Context, r *http.Request, action policy.AdminAction, region string) (auth.Credentials, APIErrorCode) {
    	cred, owner, s3Err := validateAdminSignature(ctx, r, region)
    	if s3Err != ErrNone {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  6. cmd/update.go

    	internalLogIf(GlobalContext, err)
    
    	return err == nil
    }
    
    // MinIO Helm chart uses DownwardAPIFile to write pod label info to /podinfo/labels
    // More info: https://kubernetes.io/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information/#store-pod-fields
    // Check if this is Helm package installation and report helm chart version
    func getHelmVersion(helmInfoFilePath string) string {
    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)
  7. cmd/erasure-object.go

    		}
    		replcfg, err = getReplicationConfig(ctx, bucket)
    		if err != nil {
    			return objInfo, err
    		}
    	}
    
    	// expiration attempted on a bucket with no lifecycle
    	// rules shall be rejected.
    	if lc == nil && opts.Expiration.Expire {
    		if opts.VersionID != "" {
    			return objInfo, VersionNotFound{
    				Bucket:    bucket,
    				Object:    object,
    				VersionID: opts.VersionID,
    			}
    		}
    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)
  8. cmd/sts-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrSTSMalformedPolicyDocument: {
    		Code:           "MalformedPolicyDocument",
    		Description:    "The request was rejected because the policy document was malformed.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrSTSInsecureConnection: {
    		Code:           "InsecureConnection",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  9. internal/logger/logrotate.go

    // Write is blocking otherwise.
    func (w *Writer) Write(p []byte) (n int, err error) {
    	return w.pw.Write(p)
    }
    
    // Close closes the writer.
    // Any accepted writes will be flushed. Any new writes will be rejected.
    // Once Close() exits, files are synchronized to disk.
    func (w *Writer) Close() error {
    	w.pw.CloseWithError(nil)
    
    	if w.f != nil {
    		if err := w.closeCurrentFile(); err != nil {
    			return err
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 11:38:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  10. cmd/benchmark-utils_test.go

    	// create bucket.
    	err = obj.MakeBucket(context.Background(), bucket, MakeBucketOptions{})
    	if err != nil {
    		b.Fatal(err)
    	}
    
    	objSize := 128 * humanize.MiByte
    
    	// PutObjectPart returns etag of the object inserted.
    	// etag variable is assigned with that value.
    	var etag string
    	// get text data generated for number of bytes equal to object size.
    	textData := generateBytesData(objSize)
    	// generate md5sum for the generated data.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 8.2K bytes
    - Viewed (0)
Back to top