Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for watchSecret (0.17 sec)

  1. pkg/kubelet/secret/secret_manager.go

    	listSecret := func(namespace string, opts metav1.ListOptions) (runtime.Object, error) {
    		return kubeClient.CoreV1().Secrets(namespace).List(context.TODO(), opts)
    	}
    	watchSecret := func(namespace string, opts metav1.ListOptions) (watch.Interface, error) {
    		return kubeClient.CoreV1().Secrets(namespace).Watch(context.TODO(), opts)
    	}
    	newSecret := func() runtime.Object {
    		return &v1.Secret{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. pkg/kubelet/util/manager/watch_based_manager_test.go

    	return func(namespace string, opts metav1.ListOptions) (runtime.Object, error) {
    		return fakeClient.CoreV1().Secrets(namespace).List(context.TODO(), opts)
    	}
    }
    
    func watchSecret(fakeClient clientset.Interface) watchObjectFunc {
    	return func(namespace string, opts metav1.ListOptions) (watch.Interface, error) {
    		return fakeClient.CoreV1().Secrets(namespace).Watch(context.TODO(), opts)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 09 10:05:43 UTC 2023
    - 17.2K bytes
    - Viewed (0)
Back to top