Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 421 for Cfg (0.02 sec)

  1. pkg/apis/flowcontrol/v1beta3/defaults.go

    		in.LendablePercent = ptr.To(int32(0))
    	}
    }
    
    func SetDefaults_QueuingConfiguration(cfg *v1beta3.QueuingConfiguration) {
    	if cfg.HandSize == 0 {
    		cfg.HandSize = PriorityLevelConfigurationDefaultHandSize
    	}
    	if cfg.Queues == 0 {
    		cfg.Queues = PriorityLevelConfigurationDefaultQueues
    	}
    	if cfg.QueueLengthLimit == 0 {
    		cfg.QueueLengthLimit = PriorityLevelConfigurationDefaultQueueLengthLimit
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. pkg/credentialprovider/config.go

    func ReadSpecificDockerConfigJSONFile(filePath string) (cfg DockerConfig, err error) {
    	var contents []byte
    
    	if contents, err = os.ReadFile(filePath); err != nil {
    		return nil, err
    	}
    	return readDockerConfigJSONFileFromBytes(contents)
    }
    
    // ReadDockerConfigFile read a docker config file from default path
    func ReadDockerConfigFile() (cfg DockerConfig, err error) {
    	if cfg, err := ReadDockerConfigJSONFile(nil); err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 19 15:11:57 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  3. internal/config/callhome/callhome.go

    func LookupConfig(kvs config.KVS) (cfg Config, err error) {
    	if err = config.CheckValidKeys(config.CallhomeSubSys, kvs, DefaultKVS); err != nil {
    		return cfg, err
    	}
    
    	cfg.Enable = env.Get(config.EnvMinIOCallhomeEnable,
    		kvs.GetWithDefault(Enable, DefaultKVS)) == config.EnableOn
    	cfg.Frequency, err = time.ParseDuration(env.Get(config.EnvMinIOCallhomeFrequency,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. cni/pkg/install/cniconfig.go

    )
    
    func createCNIConfigFile(ctx context.Context, cfg *config.InstallConfig) (string, error) {
    	pluginConfig := plugin.Config{
    		PluginLogLevel:  cfg.PluginLogLevel,
    		LogUDSAddress:   cfg.LogUDSAddress,
    		CNIEventAddress: cfg.CNIEventAddress,
    		AmbientEnabled:  cfg.AmbientEnabled,
    		Kubernetes: plugin.Kubernetes{
    			Kubeconfig:        filepath.Join(cfg.CNINetDir, cfg.KubeconfigFilename),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. internal/config/lambda/parse.go

    // TestSubSysLambdaTargets - tests notification targets of given subsystem
    func TestSubSysLambdaTargets(ctx context.Context, cfg config.Config, subSys string, transport *http.Transport) error {
    	if err := checkValidLambdaKeysForSubSys(subSys, cfg[subSys]); err != nil {
    		return err
    	}
    
    	targetList, err := fetchSubSysTargets(ctx, cfg, subSys, transport)
    	if err != nil {
    		return err
    	}
    
    	for _, target := range targetList {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. cmd/kube-controller-manager/app/options/hpacontroller.go

    // ApplyTo fills up HPAController config with options.
    func (o *HPAControllerOptions) ApplyTo(cfg *poautosclerconfig.HPAControllerConfiguration) error {
    	if o == nil {
    		return nil
    	}
    
    	cfg.ConcurrentHorizontalPodAutoscalerSyncs = o.ConcurrentHorizontalPodAutoscalerSyncs
    	cfg.HorizontalPodAutoscalerSyncPeriod = o.HorizontalPodAutoscalerSyncPeriod
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 19 09:49:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/phases/init/addons.go

    	}
    	cfg := data.Cfg()
    	var client clientset.Interface
    	var err error
    	if !printManifest {
    		client, err = data.Client()
    		if err != nil {
    			return nil, nil, "", nil, err
    		}
    	}
    
    	out := data.OutputWriter()
    	patchesDir := data.PatchesDir()
    	return cfg, client, patchesDir, out, err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/driver/driver_focus.go

    func applyFocus(prof *profile.Profile, numLabelUnits map[string]string, cfg config, ui plugin.UI) error {
    	focus, err := compileRegexOption("focus", cfg.Focus, nil)
    	ignore, err := compileRegexOption("ignore", cfg.Ignore, err)
    	hide, err := compileRegexOption("hide", cfg.Hide, err)
    	show, err := compileRegexOption("show", cfg.Show, err)
    	showfrom, err := compileRegexOption("show_from", cfg.ShowFrom, err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 22 23:33:06 UTC 2020
    - 6.4K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/apiclient/wait_test.go

    )
    
    func TestGetControlPlaneComponents(t *testing.T) {
    	testcases := []struct {
    		name     string
    		cfg      *kubeadmapi.ClusterConfiguration
    		expected []controlPlaneComponent
    	}{
    		{
    			name: "port values from config",
    			cfg: &kubeadmapi.ClusterConfiguration{
    				APIServer: kubeadmapi.APIServer{
    					ControlPlaneComponent: kubeadmapi.ControlPlaneComponent{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 15:33:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. internal/config/compress/legacy.go

    func SetCompressionConfig(s config.Config, cfg Config) {
    	if !cfg.Enabled {
    		// No need to save disabled settings in new config.
    		return
    	}
    	s[config.CompressionSubSys][config.Default] = config.KVS{
    		config.KV{
    			Key:   config.Enable,
    			Value: config.EnableOn,
    		},
    		config.KV{
    			Key:   Extensions,
    			Value: strings.Join(cfg.Extensions, config.ValueSeparator),
    		},
    		config.KV{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 1.8K bytes
    - Viewed (0)
Back to top