- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 649 for syncFn (0.12 sec)
-
pkg/proxy/config/config_test.go
delete(h.state, namespacedName) h.sendServices() } func (h *ServiceHandlerMock) OnServiceSynced() { h.lock.Lock() defer h.lock.Unlock() h.synced = true h.sendServices() } func (h *ServiceHandlerMock) sendServices() { if !h.synced { return } services := make([]*v1.Service, 0, len(h.state)) for _, svc := range h.state { services = append(services, svc) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 14.3K bytes - Viewed (0) -
cmd/kubeadm/app/util/etcd/etcd.go
continue } etcdEndpoints = append(etcdEndpoints, etcdEndpoint) } return etcdEndpoints, len(podList.Items), nil } // Sync synchronizes client's endpoints with the known endpoints from the etcd membership. func (c *Client) Sync() error { // Syncs the list of endpoints var cli etcdClient var lastError error
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 11:04:08 UTC 2024 - 21.2K bytes - Viewed (0) -
pkg/proxy/node.go
// OnNodeDelete is a handler for Node deletes. func (n *NodePodCIDRHandler) OnNodeDelete(node *v1.Node) { n.logger.Error(nil, "Current Node is being deleted", "node", klog.KObj(node)) } // OnNodeSynced is a handler for Node syncs. func (n *NodePodCIDRHandler) OnNodeSynced() {} // NodeEligibleHandler handles the life cycle of the Node's eligibility, as // determined by the health server for directing load balancer traffic.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 3.5K bytes - Viewed (0) -
pkg/kube/multicluster/cluster.go
switch a { case Add: return "Add" case Update: return "Update" } return "Unknown" } // Run starts the cluster's informers and waits for caches to sync. Once caches are synced, we mark the cluster synced. // This should be called after each of the handlers have registered informers, and should be run in a goroutine. func (c *Cluster) Run(mesh mesh.Watcher, handlers []handler, action ACTION) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 06 02:13:10 UTC 2024 - 3.8K bytes - Viewed (0) -
cmd/kube-controller-manager/app/options/options_test.go
"--concurrent-deployment-syncs=10", "--concurrent-horizontal-pod-autoscaler-syncs=10", "--concurrent-statefulset-syncs=15", "--concurrent-endpoint-syncs=10", "--concurrent-ephemeralvolume-syncs=10", "--concurrent-service-endpoint-syncs=10", "--concurrent-gc-syncs=30", "--concurrent-namespace-syncs=20", "--concurrent-job-syncs=10", "--concurrent-cron-job-syncs=10", "--concurrent-replicaset-syncs=10",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 02:59:09 UTC 2024 - 55.1K bytes - Viewed (0) -
pkg/controller/replicaset/replica_set.go
// rsListerSynced returns true if the pod store has been synced at least once. // Added as a member to the struct to allow injection for testing. rsListerSynced cache.InformerSynced rsIndexer cache.Indexer // A store of pods, populated by the shared informer passed to NewReplicaSetController podLister corelisters.PodLister // podListerSynced returns true if the pod store has been synced at least once.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 33.2K bytes - Viewed (0) -
hack/_update-generated-proto-bindings-dockerized.sh
if [ "$#" == 0 ]; then echo "usage: $0 <api_dir>..." exit 1 fi kube::protoc::check_protoc for api; do # This can't use `git ls-files` because it runs in a container without the # .git dir synced. protos=() kube::util::read-array protos < <( \ find "${api}" -type f -name "api.proto") if [ "${#protos[@]}" == 0 ]; then echo "ERROR: no 'api.proto' files under '${api}'" exit 1
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:07:04 UTC 2024 - 1.5K bytes - Viewed (0) -
build/release-images.sh
CMD_TARGETS="${CMD_TARGETS} ${KUBE_CONFORMANCE_IMAGE_TARGETS[*]}" fi # include extra WHAT if specified so you can build docker images + binaries # in one call with a single pass of syncing to the container + generating code if [[ -n "${KUBE_EXTRA_WHAT:-}" ]]; then CMD_TARGETS="${CMD_TARGETS} ${KUBE_EXTRA_WHAT}" fi kube::build::verify_prereqs kube::build::build_image
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 16:43:08 UTC 2024 - 1.6K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex.go
} func (a *index) SyncAll() { a.networkUpdateTrigger.TriggerRecomputation() } func (a *index) HasSynced() bool { return a.services.Synced().HasSynced() && a.workloads.Synced().HasSynced() && a.waypoints.Synced().HasSynced() && a.authorizationPolicies.Synced().HasSynced() } type LookupNetwork func(endpointIP string, labels labels.Instance) network.ID
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 19 17:19:41 UTC 2024 - 15.8K bytes - Viewed (0) -
pkg/kube/kclient/crdwatcher.go
if fv.LessThan(mv) { log.Infof("CRD %v version %v is below minimum version %v, ignoring", crd.Name, fv, mv) return false } return true } // HasSynced returns whether the underlying cache has synced and the callback has been called at least once. func (c *crdWatcher) HasSynced() bool { return c.queue.HasSynced() } // Run starts the controller. This must be called.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 14:44:17 UTC 2024 - 5.7K bytes - Viewed (0)