Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for clusterConfigs (0.24 sec)

  1. pkg/test/framework/components/environment/kube/settings.go

    		if len(s.controlPlaneTopology) != len(clusterConfigs) {
    			return nil, fmt.Errorf("istio.test.kube.controlPlaneTopology has %d entries but there are %d clusters", len(controlPlaneTopology), len(clusterConfigs))
    		}
    		for src, dst := range s.controlPlaneTopology {
    			clusterConfigs[src].PrimaryClusterName = clusterConfigs[dst].Name
    		}
    	}
    	if s.configTopology != nil {
    		if len(s.configTopology) != len(clusterConfigs) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. pkg/test/framework/components/environment/kube/kube.go

    `)
    		}
    	}()
    	scopes.Framework.Infof("Test Framework Kubernetes environment Settings:\n%s", s)
    	e := &Environment{
    		ctx: ctx,
    		s:   s,
    	}
    	e.id = ctx.TrackResource(e)
    
    	configs, err := s.clusterConfigs()
    	if err != nil {
    		return nil, err
    	}
    	clusters, err := buildClusters(configs)
    	if err != nil {
    		return nil, err
    	}
    	e.clusters = clusters
    
    	return e, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. pkg/kube/multicluster/secretcontroller_test.go

    }
    
    func makeSecret(namespace string, secret string, clusterConfigs ...clusterCredential) *v1.Secret {
    	s := &v1.Secret{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      secret,
    			Namespace: namespace,
    			Labels: map[string]string{
    				MultiClusterSecretLabel: "true",
    			},
    		},
    		Data: map[string][]byte{},
    	}
    
    	for _, config := range clusterConfigs {
    		s.Data[config.clusterID] = config.kubeconfig
    	}
    	return s
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/componentconfigs/fakeconfig_test.go

    }
    
    type clusterConfig struct {
    	configBase
    	config kubeadmapiv1.ClusterConfiguration
    }
    
    func (cc *clusterConfig) DeepCopy() kubeadmapi.ComponentConfig {
    	result := &clusterConfig{}
    	cc.configBase.DeepCopyInto(&result.configBase)
    	cc.config.DeepCopyInto(&result.config)
    	return result
    }
    
    func (cc *clusterConfig) Marshal() ([]byte, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 04 15:36:00 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/etcd3/watcher_test.go

    	storagetesting.RunTestWatchInitializationSignal(ctx, t, store)
    }
    
    func TestProgressNotify(t *testing.T) {
    	clusterConfig := testserver.NewTestConfig(t)
    	clusterConfig.ExperimentalWatchProgressNotifyInterval = time.Second
    	ctx, store, _ := testSetup(t, withClientConfig(clusterConfig))
    
    	storagetesting.RunOptionalTestProgressNotify(ctx, t, store)
    }
    
    // TestWatchDispatchBookmarkEvents makes sure that
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top