Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 988 for watcher (0.27 sec)

  1. pkg/kube/inject/webhook.go

    	return &c, nil
    }
    
    // WebhookParameters configures parameters for the sidecar injection
    // webhook.
    type WebhookParameters struct {
    	// Watcher watches the sidecar injection configuration.
    	Watcher Watcher
    
    	// Port is the webhook port, e.g. typically 443 for https.
    	// This is mainly used for tests. Webhook runs on the port started by Istiod.
    	Port int
    
    	Env *model.Environment
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  2. security/pkg/nodeagent/cache/monitoring.go

    		"Number of failed outgoing requests (e.g. to a token exchange server, CA, etc.)",
    	)
    
    	numFileWatcherFailures = monitoring.NewSum(
    		"num_file_watcher_failures_total",
    		"Number of times file watcher failed to add watchers")
    
    	numFileSecretFailures = monitoring.NewSum(
    		"num_file_secret_failures_total",
    		"Number of times secret generation failed for files",
    	)
    
    	certExpirySeconds = monitoring.NewDerivedGauge(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. pkg/kubelet/pluginmanager/pluginwatcher/example_plugin_apis/v1beta1/api.proto

    	string v1beta1_field = 2;
    }
    
    message ExampleResponse {
    	string error  = 1;
    }
    
    // Example is a simple example service for general reference on the recommended
    // kubelet plugin model and plugin watcher testing.
    service Example {
    	rpc GetExampleInfo(ExampleRequest) returns (ExampleResponse) {}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 23 17:31:18 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. pkg/xds/server.go

    	close(conn.initialized)
    }
    
    // ConnectionContext is used by the RPC event loop to respond to requests and pushes.
    type ConnectionContext interface {
    	XdsConnection() *Connection
    	Watcher() Watcher
    	// Initialize checks the first request.
    	Initialize(node *core.Node) error
    	// Close discards the connection.
    	Close()
    	// Process responds to a discovery request.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. pkg/kubelet/pluginmanager/pluginwatcher/example_plugin_apis/v1beta2/api.proto

    	string v1beta2_field = 2;
    }
    
    message ExampleResponse {
    	string error  = 1;
    }
    
    // Example is a simple example service for general reference on the recommended
    // kubelet plugin model and plugin watcher testing.
    service Example {
    	rpc GetExampleInfo(ExampleRequest) returns (ExampleResponse) {}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 23 17:31:18 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. pkg/webhooks/util/util.go

    	reason string
    }
    
    func (e ConfigError) Error() string {
    	return e.err.Error()
    }
    
    func (e ConfigError) Reason() string {
    	return e.reason
    }
    
    func LoadCABundle(caBundleWatcher *keycertbundle.Watcher) ([]byte, error) {
    	caBundle := caBundleWatcher.GetCABundle()
    	if err := VerifyCABundle(caBundle); err != nil {
    		return nil, &ConfigError{err, "could not verify caBundle"}
    	}
    
    	return caBundle, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 14 17:33:33 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  7. pilot/pkg/leaderelection/leaderelection.go

    }
    
    func newLeaderElection(namespace, name, electionID, revision string, perRevision bool, remote bool, client kube.Client) *LeaderElection {
    	var watcher revisions.DefaultWatcher
    	if features.EnableLeaderElection {
    		watcher = revisions.NewDefaultWatcher(client, revision)
    	}
    	if name == "" {
    		hn, _ := os.Hostname()
    		name = fmt.Sprintf("unknown-%s", hn)
    	}
    	if perRevision && revision != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. security/pkg/nodeagent/sds/sdsservice.go

    }
    
    func (c *Context) Watcher() xds.Watcher {
    	return c.w
    }
    
    func (w *Watch) DeleteWatchedResource(string) {
    	w.Lock()
    	defer w.Unlock()
    	w.watch = nil
    }
    
    func (w *Watch) GetWatchedResource(string) *xds.WatchedResource {
    	w.Lock()
    	defer w.Unlock()
    	return w.watch
    }
    
    func (w *Watch) NewWatchedResource(typeURL string, names []string) {
    	w.Lock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 25 00:20:04 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. security/pkg/k8s/chiron/utils.go

    	return append(certPEM, caCert...), caCert, nil
    }
    
    // Return signed CSR through a watcher. If no CSR is read, return nil.
    func readSignedCsr(client clientset.Interface, csr string, watchTimeout time.Duration) ([]byte, error) {
    	selector := fields.OneTermEqualSelector("metadata.name", csr).String()
    	// Setup a List+Watch, like informers do
    	// A simple Watch will fail if the cert is signed too quickly
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 18:11:22 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/namespacecontroller.go

    	caBundleWatcher *keycertbundle.Watcher
    
    	queue controllers.Queue
    
    	namespaces kclient.Client[*v1.Namespace]
    	configmaps kclient.Client[*v1.ConfigMap]
    
    	ignoredNamespaces sets.Set[string]
    }
    
    // NewNamespaceController returns a pointer to a newly constructed NamespaceController instance.
    func NewNamespaceController(kubeClient kube.Client, caBundleWatcher *keycertbundle.Watcher) *NamespaceController {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top