Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for subsystem (0.2 sec)

  1. cmd/typed-errors.go

    // error returned in IAM subsystem when an account doesn't exist.
    var errNoSuchAccount = errors.New("Specified account does not exist")
    
    // error returned in IAM subsystem when groups doesn't exist.
    var errNoSuchGroup = errors.New("Specified group does not exist")
    
    // error returned in IAM subsystem when a policy attach/detach request has no
    // net effect, i.e. it is already applied.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  2. internal/config/config.go

    // target are valid. It checks both the configuration store as well as
    // environment variables.
    func (c Config) CheckValidKeys(subSys string, deprecatedKeys []string) error {
    	defKVS, ok := DefaultKVS[subSys]
    	if !ok {
    		return Errorf("Subsystem %s does not exist", subSys)
    	}
    
    	// Make a list of valid keys for the subsystem including the `comment`
    	// key.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  3. internal/logger/logger.go

    	var l string
    	if anonFlag {
    		l = reflect.TypeOf(err).String()
    	} else {
    		l = fmt.Sprintf("%v (%T)", err, err)
    	}
    	return buildLogEntry(ctx, subsystem, l, getTrace(3), errKind...)
    }
    
    func logToEntry(ctx context.Context, subsystem, message string, errKind ...interface{}) log.Entry {
    	return buildLogEntry(ctx, subsystem, message, nil, errKind...)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  4. internal/logger/logonce.go

    // on how it is used.
    func LogOnceIf(ctx context.Context, subsystem string, err error, id string, errKind ...interface{}) {
    	if logIgnoreError(err) {
    		return
    	}
    	logOnce.logOnceIf(ctx, subsystem, err, id, errKind...)
    }
    
    // LogOnceConsoleIf - similar to LogOnceIf but exclusively only logs to console target.
    func LogOnceConsoleIf(ctx context.Context, subsystem string, err error, id string, errKind ...interface{}) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. internal/config/help.go

    			Description: DefaultComment,
    			Optional:    true,
    		},
    	}
    )
    
    // DefaultHelpPostfix - Helper function to add (default: $value) messages in config help
    func DefaultHelpPostfix(subsystem KVS, key string) string {
    	val, found := subsystem.Lookup(key)
    	if !found || val == "" {
    		return ""
    	}
    	return " (default: '" + val + "')"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  6. internal/config/ilm/ilm.go

    	"github.com/minio/pkg/v2/env"
    )
    
    // DefaultKVS default configuration values for ILM subsystem
    var DefaultKVS = config.KVS{
    	config.KV{
    		Key:   transitionWorkers,
    		Value: "100",
    	},
    	config.KV{
    		Key:   expirationWorkers,
    		Value: "100",
    	},
    }
    
    // Config represents the different configuration values for ILM subsystem
    type Config struct {
    	TransitionWorkers int
    	ExpirationWorkers int
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  7. cmd/server-main.go

    	globalLifecycleSys = NewLifecycleSys()
    
    	// Create new bucket encryption subsystem
    	globalBucketSSEConfigSys = NewBucketSSEConfigSys()
    
    	// Create new bucket object lock subsystem
    	globalBucketObjectLockSys = NewBucketObjectLockSys()
    
    	// Create new bucket quota subsystem
    	globalBucketQuotaSys = NewBucketQuotaSys()
    
    	// Create new bucket versioning subsystem
    	if globalBucketVersioningSys == nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 33K bytes
    - Viewed (1)
  8. cmd/metrics-v2.go

    		Namespace: nodeMetricNamespace,
    		Subsystem: ioSubsystem,
    		Name:      writeBytes,
    		Help:      "Total bytes written by the process to the underlying storage system, /proc/[pid]/io write_bytes",
    		Type:      counterMetric,
    	}
    }
    
    func getMinioProcessIOReadBytesMD() MetricDescription {
    	return MetricDescription{
    		Namespace: nodeMetricNamespace,
    		Subsystem: ioSubsystem,
    		Name:      readBytes,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  9. cmd/metrics-resource.go

    		Namespace: nodeMetricNamespace,
    		Subsystem: subSys,
    		Name:      name,
    		Help:      help,
    		Type:      gaugeMetric,
    	}
    }
    
    func getResourceMetrics() *MetricsGroupV2 {
    	mg := &MetricsGroupV2{
    		cacheInterval: resourceMetricsCacheInterval,
    	}
    	mg.RegisterRead(func(ctx context.Context) []MetricV2 {
    		metrics := []MetricV2{}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  10. cmd/bucket-versioning.go

    package cmd
    
    import (
    	"strings"
    
    	"github.com/minio/minio/internal/bucket/versioning"
    	"github.com/minio/minio/internal/logger"
    )
    
    // BucketVersioningSys - policy subsystem.
    type BucketVersioningSys struct{}
    
    // Enabled enabled versioning?
    func (sys *BucketVersioningSys) Enabled(bucket string) bool {
    	vc, err := sys.Get(bucket)
    	if err != nil {
    		logger.CriticalIf(GlobalContext, err)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 2.6K bytes
    - Viewed (0)
Back to top