Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for loading (0.47 sec)

  1. cni/pkg/install/cniconfig.go

    			confList, err = libcni.ConfListFromFile(confFile)
    			if err != nil {
    				installLog.Warnf("Error loading CNI config list file %s: %v", confFile, err)
    				continue
    			}
    		} else {
    			conf, err := libcni.ConfFromFile(confFile)
    			if err != nil {
    				installLog.Warnf("Error loading CNI config file %s: %v", confFile, err)
    				continue
    			}
    			// Ensure the config has a "type" so we know what plugin to run.
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. cmd/iam-object-store.go

    	if iamOS.objAPI == nil {
    		return errServerNotInitialized
    	}
    
    	bootstrapTraceMsg("loading all IAM items")
    
    	listedConfigItems, err := iamOS.listAllIAMConfigItems(ctx)
    	if err != nil {
    		return fmt.Errorf("unable to list IAM data: %w", err)
    	}
    
    	// Loads things in the same order as `LoadIAMCache()`
    
    	bootstrapTraceMsg("loading policy documents")
    
    	policiesList := listedConfigItems[policiesListKey]
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  3. cmd/iam-store.go

    			bootstrapTraceMsg("loading regular users")
    			if err := store.loadUsers(ctx, regUser, newCache.iamUsersMap); err != nil {
    				return err
    			}
    			bootstrapTraceMsg("loading regular groups")
    			if err := store.loadGroups(ctx, newCache.iamGroupsMap); err != nil {
    				return err
    			}
    		}
    
    		bootstrapTraceMsg("loading user policy mapping")
    		// load polices mapped to users
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  4. internal/config/scanner/scanner.go

    	case "", config.EnableOn:
    		cfg.IdleMode = 0
    	case config.EnableOff:
    		cfg.IdleMode = 1
    	default:
    		return cfg, fmt.Errorf("unknown value: '%s'", idleSpeed)
    	}
    
    	// Stick to loading deprecated config/env if they are already set, and the Speed value
    	// has not been changed from its "default" value, if it has been changed honor new settings.
    	if kvs.GetWithDefault(Speed, DefaultKVS) == "default" {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  5. internal/jwt/parser_test.go

    	emptyKeyFunc   = func(claim *MapClaims) ([]byte, error) { return nil, nil }
    	errorKeyFunc   = func(claim *MapClaims) ([]byte, error) { return nil, fmt.Errorf("error loading key") }
    )
    
    var jwtTestData = []struct {
    	name        string
    	tokenString string
    	keyfunc     func(*MapClaims) ([]byte, error)
    	claims      jwt.Claims
    	valid       bool
    	errors      int32
    }{
    	{
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Nov 05 19:20:08 GMT 2021
    - 6K bytes
    - Viewed (0)
  6. cmd/bucket-metadata-sys.go

    		return errServerNotInitialized
    	}
    
    	sys.objAPI = objAPI
    
    	// Load bucket metadata sys.
    	sys.init(ctx, buckets)
    	return nil
    }
    
    // concurrently load bucket metadata to speed up loading bucket metadata.
    func (sys *BucketMetadataSys) concurrentLoad(ctx context.Context, buckets []BucketInfo, failedBuckets map[string]struct{}) {
    	g := errgroup.WithNErrs(len(buckets))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  7. istioctl/pkg/kubeinject/kubeinject.go

    		if err != nil {
    			return nil, nil, err
    		}
    		injectConfig, err := readInjectConfigFile(injectionConfig)
    		if err != nil {
    			return nil, nil, multierror.Append(err, fmt.Errorf("loading --injectConfigFile"))
    		}
    		*sidecarTemplate = injectConfig
    	} else {
    		injector, err = setUpExternalInjector(cliContext, revision, injectorAddress)
    		if err != nil || injector.clientConfig == nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  8. internal/config/identity/openid/openid.go

    		)
    
    		var enabled bool
    		if isExplicitlyEnabled {
    			enabled, err = config.ParseBool(cfgEnableVal)
    			if err != nil {
    				return c, err
    			}
    			// No need to continue loading if the config is not enabled.
    			if !enabled {
    				continue
    			}
    		}
    
    		p := newProviderCfgFromConfig(getCfgVal)
    		configURL := getCfgVal(ConfigURL)
    
    		if !isExplicitlyEnabled {
    			enabled = true
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  9. internal/http/headers.go

    	MinIOWriteQuorum = "x-minio-write-quorum"
    
    	// Reads expected read quorum
    	MinIOReadQuorum = "x-minio-read-quorum"
    
    	// Indicates if we are using default storage class and there was problem loading config
    	// if this header is set to "true"
    	MinIOStorageClassDefaults = "x-minio-storage-class-defaults"
    
    	// Reports number of drives currently healing
    	MinIOHealingDrives = "x-minio-healing-drives"
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  10. cmd/config.go

    func initConfig(objAPI ObjectLayer) (err error) {
    	bootstrapTraceMsg("load the configuration")
    	defer func() {
    		if err != nil {
    			bootstrapTraceMsg(fmt.Sprintf("loading configuration failed: %v", err))
    		}
    	}()
    
    	if objAPI == nil {
    		return errServerNotInitialized
    	}
    
    	srvCfg, err := readConfigWithoutMigrate(GlobalContext, objAPI)
    	if err != nil {
    		return err
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Aug 23 10:07:06 GMT 2023
    - 6K bytes
    - Viewed (0)
Back to top