Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newClustersStore (0.13 sec)

  1. pkg/kube/multicluster/clusterstore.go

    type ClusterStore struct {
    	sync.RWMutex
    	// keyed by secret key(ns/name)->clusterID
    	remoteClusters map[string]map[cluster.ID]*Cluster
    	clusters       sets.String
    }
    
    // newClustersStore initializes data struct to store clusters information
    func newClustersStore() *ClusterStore {
    	return &ClusterStore{
    		remoteClusters: make(map[string]map[cluster.ID]*Cluster),
    		clusters:       sets.New[string](),
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 07 15:01:12 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. pkg/kube/multicluster/secretcontroller.go

    		ClientBuilder:   DefaultBuildClientsFromConfig,
    		namespace:       namespace,
    		configClusterID: clusterID,
    		configCluster:   &Cluster{Client: kubeclientset, ID: clusterID},
    		cs:              newClustersStore(),
    		secrets:         secrets,
    		configOverrides: configOverrides,
    		meshWatcher:     meshWatcher,
    	}
    
    	// Queue does NOT retry. The only error that can occur is if the kubeconfig is
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 02:13:10 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top