Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for watchEvents (0.16 sec)

  1. pkg/kubelet/config/file.go

    	podDelete
    
    	eventBufferLen = 10
    )
    
    type watchEvent struct {
    	fileName  string
    	eventType podEventType
    }
    
    type sourceFile struct {
    	path           string
    	nodeName       types.NodeName
    	period         time.Duration
    	store          cache.Store
    	fileKeyMapping map[string]string
    	updates        chan<- interface{}
    	watchEvents    chan *watchEvent
    }
    
    // NewSourceFile watches a config file for changes.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 01 07:19:44 UTC 2021
    - 6.2K bytes
    - Viewed (0)
  2. pkg/kubelet/config/file_linux.go

    		eventType = podDelete
    	case (e.Op & fsnotify.Rename) > 0:
    		eventType = podDelete
    	default:
    		// Ignore rest events
    		return nil
    	}
    
    	s.watchEvents <- &watchEvent{e.Name, eventType}
    	return nil
    }
    
    func (s *sourceFile) consumeWatchEvent(e *watchEvent) error {
    	switch e.eventType {
    	case podAdd, podModify:
    		pod, err := s.extractFromFile(e.fileName)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 17:27:26 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/testdata/HEAD/core.v1.WatchEvent.pb

    Jordan Liggitt <******@****.***> 1645282187 -0500
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 19 15:31:53 UTC 2022
    - 129 bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.WatchEvent.pb

    SataQiu <******@****.***> 1713430345 +0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 129 bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/watch.go

    		out.Object.Object = in.Object
    	}
    	return nil
    }
    
    func Convert_v1_InternalEvent_To_v1_WatchEvent(in *InternalEvent, out *WatchEvent, s conversion.Scope) error {
    	return Convert_watch_Event_To_v1_WatchEvent((*watch.Event)(in), out, s)
    }
    
    func Convert_v1_WatchEvent_To_watch_Event(in *WatchEvent, out *watch.Event, s conversion.Scope) error {
    	out.Type = watch.EventType(in.Type)
    	if in.Object.Object != nil {
    		out.Object = in.Object.Object
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 18 03:02:16 UTC 2018
    - 2.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/HEAD/core.v1.WatchEvent.json

    Jordan Liggitt <******@****.***> 1645282187 -0500
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 19 15:31:53 UTC 2022
    - 190 bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.WatchEvent.yaml

    SataQiu <******@****.***> 1702613527 +0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 123 bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.WatchEvent.json

    SataQiu <******@****.***> 1713430345 +0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 190 bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.WatchEvent.yaml

    SataQiu <******@****.***> 1713430345 +0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 123 bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/HEAD/core.v1.WatchEvent.yaml

    Jordan Liggitt <******@****.***> 1645282187 -0500
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 19 15:31:53 UTC 2022
    - 123 bytes
    - Viewed (0)
Back to top