Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 762 for Cfg (0.03 sec)

  1. cmd/kubeadm/app/cmd/phases/init/certs.go

    		cfg := data.Cfg()
    		cfg.CertificatesDir = data.CertificateWriteDir()
    		defer func() { cfg.CertificatesDir = data.CertificateDir() }()
    
    		// create the new certificate authority (or use existing)
    		return certsphase.CreateCACertAndKeyFiles(ca, cfg)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 06:35:45 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. cmd/kubeadm/app/discovery/token/token_test.go

    kind: Config
    preferences: {}
    users: null
    `
    	)
    
    	tests := []struct {
    		name                     string
    		tokenID                  string
    		tokenSecret              string
    		cfg                      *kubeadmapi.Discovery
    		configMap                *fakeConfigMap
    		delayedJWSSignaturePatch bool
    		expectedError            bool
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. tools/istio-iptables/pkg/capture/run_linux.go

    func configureTProxyRoutes(cfg *config.Config) error {
    	if cfg.InboundPortsInclude != "" {
    		if cfg.InboundInterceptionMode == constants.TPROXY {
    			link, err := netlink.LinkByName("lo")
    			if err != nil {
    				return fmt.Errorf("failed to find 'lo' link: %v", err)
    			}
    			tproxyTable, err := strconv.Atoi(cfg.InboundTProxyRouteTable)
    			if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/driver/settings.go

    		return fmt.Errorf("invalid config name")
    	}
    	cfg := currentConfig()
    	if err := cfg.applyURL(q); err != nil {
    		return err
    	}
    	return editSettings(fname, func(s *settings) error {
    		for i, c := range s.Configs {
    			if c.Name == name {
    				s.Configs[i].config = cfg
    				return nil
    			}
    		}
    		s.Configs = append(s.Configs, namedConfig{Name: name, config: cfg})
    		return nil
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top