Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for loadConfig (0.52 sec)

  1. cmd/config-current_test.go

    	}
    
    	if err := saveServerConfig(context.Background(), objLayer, globalServerConfig); err != nil {
    		t.Fatalf("Unable to save updated config file %s", err)
    	}
    
    	// Initialize server config.
    	if err := loadConfig(objLayer, nil); err != nil {
    		t.Fatalf("Unable to initialize from updated config file %s", err)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. cmd/config-migrate.go

    	return quick.SaveConfig(data, configFile, globalEtcdClient)
    }
    
    // Load config from backend
    func Load(configFile string, data interface{}) (quick.Config, error) {
    	return quick.LoadConfig(configFile, globalEtcdClient, data)
    }
    
    func readConfigWithoutMigrate(ctx context.Context, objAPI ObjectLayer) (config.Config, error) {
    	// Construct path to config.json for the given bucket.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook.go

    // NewWebhook creates a new generic admission webhook.
    func NewWebhook(handler *admission.Handler, configFile io.Reader, sourceFactory sourceFactory, dispatcherFactory dispatcherFactory) (*Webhook, error) {
    	kubeconfigFile, err := config.LoadConfig(configFile)
    	if err != nil {
    		return nil, err
    	}
    
    	cm, err := webhookutil.NewClientManager(
    		[]schema.GroupVersion{
    			admissionv1beta1.SchemeGroupVersion,
    			admissionv1.SchemeGroupVersion,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/runlit.site.cfg.py

      # Configure this to work with msys2, TF's preferred windows bash.
      config.lit_tools_dir = '/usr/bin'
    
    lit.llvm.initialize(lit_config, config)
    
    # Let the main config do the real work.
    lit_config.load_config(
        config,
        os.path.join(
            os.path.join(real_test_srcdir, os.environ['TEST_WORKSPACE'],
                         'tensorflow/compiler/mlir/runlit.cfg.py')))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 21:33:52 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top