Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for chkconfig (0.08 sec)

  1. cmd/config-common.go

    	return err
    }
    
    func saveConfig(ctx context.Context, store objectIO, configFile string, data []byte) error {
    	return saveConfigWithOpts(ctx, store, configFile, data, ObjectOptions{MaxParity: true})
    }
    
    func checkConfig(ctx context.Context, objAPI ObjectLayer, configFile string) error {
    	if _, err := objAPI.GetObjectInfo(ctx, minioMetaBucket, configFile, ObjectOptions{}); err != nil {
    		// Treat object not found as config not found.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. cni/pkg/install/install.go

    					cniConfigMap["plugins"] = append(plugins[:i], plugins[i+1:]...)
    					break
    				}
    			}
    
    			cniConfig, err := util.MarshalCNIConfig(cniConfigMap)
    			if err != nil {
    				return fmt.Errorf("failed to marshal CNI config map in file %s: %w", in.cniConfigFilepath, err)
    			}
    			if err = file.AtomicWrite(in.cniConfigFilepath, cniConfig, os.FileMode(0o644)); err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 09 21:33:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  3. cni/test/install_cni.go

    		}
    		if plugin["type"] == "istio-cni" {
    			cniConfigMap["plugins"] = append(plugins[:i], plugins[i+1:]...)
    			break
    		}
    	}
    
    	cniConfig, err := util.MarshalCNIConfig(cniConfigMap)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if err = file.AtomicWrite(cniConfigFilepath, cniConfig, os.FileMode(0o644)); err != nil {
    		t.Fatal(err)
    	}
    }
    
    // populateTempDirs populates temporary test directories with golden files and
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. cmd/iam.go

    	if !sys.Initialized() {
    		return errServerNotInitialized
    	}
    
    	for _, v := range policy.DefaultPolicies {
    		if v.Name == policyName {
    			if err := checkConfig(ctx, globalObjectAPI, getPolicyDocPath(policyName)); err != nil && err == errConfigNotFound {
    				return fmt.Errorf("inbuilt policy `%s` not allowed to be deleted", policyName)
    			}
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
Back to top