- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 303 for watcher (0.42 sec)
-
pkg/kubelet/cm/dra/plugin/plugin.go
klog.InfoS("DeRegister DRA plugin", "name", pluginName) deregisterPlugin(pluginName) h.controller.removePlugin(pluginName) } // ValidatePlugin is called by kubelet's plugin watcher upon detection // of a new registration socket opened by DRA plugin. func (h *RegistrationHandler) ValidatePlugin(pluginName string, endpoint string, versions []string) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 19 16:27:05 UTC 2024 - 6.2K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/controller.go
networkIDCallback func(IP string, labels labels.Instance) network.ID // Indicates whether this controller is for workload entries. workloadEntryController bool meshWatcher mesh.Watcher model.NoopAmbientIndexes model.NetworkGatewaysHandler } type Option func(*Controller) func WithClusterID(clusterID cluster.ID) Option { return func(o *Controller) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 36.8K bytes - Viewed (0) -
pilot/pkg/xds/ads.go
return conn.s.initConnection(node, conn, conn.ids) } func (conn *Connection) Close() { conn.s.closeConnection(conn) } func (conn *Connection) Watcher() xds.Watcher { return conn.proxy } func (conn *Connection) Process(req *discovery.DiscoveryRequest) error { return conn.s.processRequest(req, conn) } func (conn *Connection) Push(ev any) error {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 08:29:05 UTC 2024 - 23.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go
expectInvalidKey("Create", store.Create(ctx, invalidKey, nil, nil, 0)) expectInvalidKey("Delete", store.Delete(ctx, invalidKey, nil, nil, nil, nil)) _, watchErr := store.Watch(ctx, invalidKey, storage.ListOptions{}) expectInvalidKey("Watch", watchErr) expectInvalidKey("Get", store.Get(ctx, invalidKey, storage.GetOptions{}, nil)) expectInvalidKey("GetList", store.GetList(ctx, invalidKey, storage.ListOptions{}, nil))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 12:45:33 UTC 2024 - 26.5K bytes - Viewed (0) -
pilot/pkg/model/authorization_test.go
store := &authzFakeStore{} for _, cfg := range configs { store.add(cfg) } environment := &Environment{ ConfigStore: store, Watcher: mesh.NewFixedWatcher(&meshconfig.MeshConfig{RootNamespace: "istio-config"}), } authzPolicies := GetAuthorizationPolicies(environment) return authzPolicies }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 12.7K bytes - Viewed (0) -
pilot/pkg/networking/core/networkfilter.go
} // buildMongoFilter builds an outbound Envoy MongoProxy filter. func buildMongoFilter(statPrefix string) *listener.Filter { // TODO: add a watcher for /var/lib/istio/mongo/certs // if certs are found use, TLS or mTLS clusters for talking to MongoDB. // User is responsible for mounting those certs in the pod. mongoProxy := &mongo.MongoProxy{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 13.7K bytes - Viewed (0) -
pilot/pkg/features/pilot.go
LocalClusterSecretWatcher = env.Register("LOCAL_CLUSTER_SECRET_WATCHER", false, "If enabled, the cluster secret watcher will watch the namespace of the external cluster instead of config cluster").Get() InformerWatchNamespace = env.Register("ISTIO_WATCH_NAMESPACE", "", "If set, limit Kubernetes watches to a single namespace. "+ "Warning: only a single namespace can be set.").Get()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 13.3K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/pod_test.go
retry.UntilOrFail(t, func() bool { return c.nodes.Get(name, "") != nil }, retry.Timeout(time.Second*1), retry.Delay(time.Millisecond*5)) } // Checks that events from the watcher create the proper internal structures func TestPodCacheEvents(t *testing.T) { t.Parallel() c, _ := NewFakeControllerWithOptions(t, FakeControllerOptions{}) ns := "default" podCache := c.pods
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 16 18:27:40 UTC 2024 - 12.3K bytes - Viewed (0) -
cni/pkg/install/cniconfig_test.go
t.Fatalf("expected %s, got %s", expectedFilepath, result) } // Successful test case return } // Handle chained CNI plugin cases // Call with goroutine to test fsnotify watcher parent, cancel := context.WithCancel(context.Background()) defer cancel() resultChan, errChan := make(chan string, 1), make(chan error, 1)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 15.4K bytes - Viewed (0) -
pkg/istio-agent/agent.go
log.Warnf("Failed to add file watcher %s", filePath) return } log.Debugf("Add file %s watcher", filePath) for { select { case gotEvent := <-a.fileWatcher.Events(filePath): log.Debugf("Receive file %s event %v", filePath, gotEvent) handler() case err := <-a.fileWatcher.Errors(filePath): log.Warnf("Watch file %s error: %v", filePath, err) case <-ctx.Done():
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 05 10:02:56 UTC 2024 - 26.7K bytes - Viewed (0)