Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for CreateConfig (1 sec)

  1. subprojects/core/src/test/groovy/org/gradle/caching/configuration/internal/DefaultBuildCacheConfigurationTest.groovy

        def instantiator = Mock(Instantiator) {
            newInstance(DirectoryBuildCache) >> { Stub(DirectoryBuildCache) }
        }
    
        def 'can reconfigure remote'() {
            def buildCacheConfiguration = createConfig()
            def original = Stub(CustomBuildCache)
            when:
            buildCacheConfiguration.remote(CustomBuildCache) { config ->
                original = config
            }
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 12 13:13:02 UTC 2019
    - 3.9K bytes
    - Viewed (0)
  2. pilot/pkg/config/monitor/monitor.go

    		m.deleteConfig(m.configs[oldIndex])
    	}
    
    	// Detect remaining additions
    	for ; newIndex < newLen; newIndex++ {
    		m.createConfig(newConfigs[newIndex])
    	}
    
    	// Save the updated list.
    	m.configs = copyConfigs
    }
    
    func (m *Monitor) createConfig(c *config.Config) {
    	if _, err := m.store.Create(*c); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 17:36:33 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. pkg/controlplane/apiserver/config.go

    	}
    
    	authorizer, ruleResolver, err := authorizationConfig.New(ctx, apiserverID)
    
    	return authorizer, ruleResolver, enablesRBAC, err
    }
    
    // CreateConfig takes the generic controlplane apiserver options and
    // creates a config for the generic Kube APIs out of it.
    func CreateConfig(
    	opts options.CompletedOptions,
    	genericConfig *genericapiserver.Config,
    	versionedInformers clientgoinformers.SharedInformerFactory,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  4. cmd/kube-apiserver/app/server.go

    	}
    
    	serviceResolver := buildServiceResolver(opts.EnableAggregatorRouting, genericConfig.LoopbackClientConfig.Host, versionedInformers)
    	controlplaneConfig, admissionInitializers, err := controlplaneapiserver.CreateConfig(opts.CompletedOptions, genericConfig, versionedInformers, storageFactory, serviceResolver, kubeInitializers)
    	if err != nil {
    		return nil, nil, nil, err
    	}
    
    	config := &controlplane.Config{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 17:44:20 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. istioctl/pkg/workload/workload.go

    				if err != nil {
    					return fmt.Errorf("failed to automatically determine the --clusterID: %v", err)
    				}
    				if clusterName != "" {
    					clusterID = clusterName
    				}
    			}
    
    			if err = createConfig(kubeClient, wg, ctx.IstioNamespace(), clusterID, ingressIP, internalIP, externalIP, outputDir, cmd.OutOrStderr()); err != nil {
    				return err
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top