Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for define (0.23 sec)

  1. cmd/config-current.go

    			Optional:    true,
    		},
    	}
    
    	if globalIsErasure {
    		helpSubSys = append(helpSubSys, config.HelpKV{
    			Key:         config.StorageClassSubSys,
    			Description: "define object level redundancy",
    		}, config.HelpKV{
    			Key:         config.HealSubSys,
    			Description: "manage object healing frequency and bitrot verification checks",
    		})
    	}
    
    	helpMap := map[string]config.HelpKVS{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 11:33:28 GMT 2024
    - 30.7K bytes
    - Viewed (0)
  2. cmd/metrics.go

    	prometheus.MustRegister(minioVersionInfo)
    }
    
    // newMinioCollector describes the collector
    // and returns reference of minioCollector
    // It creates the Prometheus Description which is used
    // to define metric and  help string
    func newMinioCollector() *minioCollector {
    	return &minioCollector{
    		desc: prometheus.NewDesc("minio_stats", "Statistics exposed by MinIO server", nil, nil),
    	}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  3. internal/grid/stream.go

    	// Canceling the context will cause the context cancellation error to be returned.
    	responses <-chan Response
    	cancel    context.CancelCauseFunc
    
    	// Requests sent to the server.
    	// If the handler is defined with 0 incoming capacity this will be nil.
    	// Channel *must* be closed to signal the end of the stream.
    	// If the request context is canceled, the stream will no longer process requests.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Feb 28 18:05:18 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. cmd/warm-backend.go

    	InUse(ctx context.Context) (bool, error)
    }
    
    const probeObject = "probeobject"
    
    // checkWarmBackend checks if tier config credentials have sufficient privileges
    // to perform all operations defined in the WarmBackend interface.
    func checkWarmBackend(ctx context.Context, w WarmBackend) error {
    	remoteVersionID, err := w.Put(ctx, probeObject, strings.NewReader("MinIO"), 5)
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. internal/crypto/sse.go

    	"github.com/minio/sio"
    )
    
    const (
    	// SealAlgorithm is the encryption/sealing algorithm used to derive & seal
    	// the key-encryption-key and to en/decrypt the object data.
    	SealAlgorithm = "DAREv2-HMAC-SHA256"
    
    	// InsecureSealAlgorithm is the legacy encryption/sealing algorithm used
    	// to derive & seal the key-encryption-key and to en/decrypt the object data.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 4.4K bytes
    - Viewed (0)
  6. internal/kms/single-key.go

    )
    
    // Parse parses s as single-key KMS. The given string
    // is expected to have the following format:
    //
    //	<key-id>:<base64-key>
    //
    // The returned KMS implementation uses the parsed
    // key ID and key to derive new DEKs and decrypt ciphertext.
    func Parse(s string) (KMS, error) {
    	v := strings.SplitN(s, ":", 2)
    	if len(v) != 2 {
    		return nil, errors.New("kms: invalid master key format")
    	}
    
    	keyID, b64Key := v[0], v[1]
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  7. internal/handlers/proxy.go

    	xForwardedProto  = http.CanonicalHeaderKey("X-Forwarded-Proto")
    	xForwardedScheme = http.CanonicalHeaderKey("X-Forwarded-Scheme")
    	xRealIP          = http.CanonicalHeaderKey("X-Real-IP")
    )
    
    var (
    	// RFC7239 defines a new "Forwarded: " header designed to replace the
    	// existing use of X-Forwarded-* headers.
    	// e.g. Forwarded: for=192.0.2.60;proto=https;by=203.0.113.43
    	forwarded = http.CanonicalHeaderKey("Forwarded")
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Dec 22 00:56:55 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  8. cmd/common-main.go

    }
    
    func loadRootCredentials() {
    	// At this point, either both environment variables
    	// are defined or both are not defined.
    	// Check both cases and authenticate them if correctly defined
    	var user, password string
    	var hasCredentials bool
    	//nolint:gocritic
    	if env.IsSet(config.EnvRootUser) && env.IsSet(config.EnvRootPassword) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 35.5K bytes
    - Viewed (2)
  9. internal/grid/muxclient.go

    	}
    	m.SendSeq++
    
    	dst, err := msg.MarshalMsg(dst)
    	if err != nil {
    		return err
    	}
    	if msg.Flags&FlagSubroute != 0 {
    		if m.subroute == nil {
    			return fmt.Errorf("internal error: subroute not defined on client")
    		}
    		hid := m.subroute.withHandler(msg.Handler)
    		before := len(dst)
    		dst = append(dst, hid[:]...)
    		if debugPrint {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  10. cmd/tier.go

    		return nil, nil, err
    	}
    	if GlobalKMS == nil {
    		return NewPutObjReader(hr), &ObjectOptions{MaxParity: true}, nil
    	}
    
    	// Note: Local variables with names ek, oek, etc are named inline with
    	// acronyms defined here -
    	// https://github.com/minio/minio/blob/master/docs/security/README.md#acronyms
    
    	// Encrypt json encoded tier configurations
    	metadata := make(map[string]string)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
Back to top