Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 938 for rwmutex (0.14 sec)

  1. pkg/kubelet/token/token_manager.go

    		clock: clock.RealClock{},
    	}
    	go wait.Forever(m.cleanup, gcPeriod)
    	return m
    }
    
    // Manager manages service account tokens for pods.
    type Manager struct {
    
    	// cacheMutex guards the cache
    	cacheMutex sync.RWMutex
    	cache      map[string]*authenticationv1.TokenRequest
    
    	// mocked for testing
    	getToken func(name, namespace string, tr *authenticationv1.TokenRequest) (*authenticationv1.TokenRequest, error)
    	clock    clock.Clock
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 10 10:20:09 UTC 2021
    - 6.1K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator.go

    	hasAddedPods             bool
    	hasAddedPodsLock         sync.RWMutex
    	csiMigratedPluginManager csimigration.PluginManager
    	intreeToCSITranslator    csimigration.InTreeToCSITranslator
    	volumePluginMgr          *volume.VolumePluginMgr
    }
    
    type processedPods struct {
    	processedPods map[volumetypes.UniquePodName]bool
    	sync.RWMutex
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  3. pkg/kubelet/config/config.go

    // available, then this object should be considered authoritative.
    type podStorage struct {
    	podLock sync.RWMutex
    	// map of source name to pod uid to pod reference
    	pods map[string]map[types.UID]*v1.Pod
    	mode PodConfigNotificationMode
    
    	// ensures that updates are delivered in strict order
    	// on the updates channel
    	updateLock sync.Mutex
    	updates    chan<- kubetypes.PodUpdate
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  4. pilot/pkg/status/distribution/state.go

    }
    
    func (p *Progress) PlusEquals(p2 Progress) {
    	p.TotalInstances += p2.TotalInstances
    	p.AckedInstances += p2.AckedInstances
    }
    
    type Controller struct {
    	configStore     model.ConfigStore
    	mu              sync.RWMutex
    	CurrentState    map[status.Resource]map[string]Progress
    	ObservationTime map[string]time.Time
    	UpdateInterval  time.Duration
    	dynamicClient   dynamic.Interface
    	clock           clock.Clock
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  5. pilot/pkg/model/endpointshards.go

    // individual shards incrementally. The shards are aggregated and split into
    // clusters when a push for the specific cluster is needed.
    type EndpointShards struct {
    	// mutex protecting below map.
    	sync.RWMutex
    
    	// Shards is used to track the shards. EDS updates are grouped by shard.
    	// Current implementation uses the registry name as key - in multicluster this is the
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  6. src/syscall/syscall_js.go

    	Atime     int64
    	AtimeNsec int64
    	Mtime     int64
    	MtimeNsec int64
    	Ctime     int64
    	CtimeNsec int64
    }
    
    // Processes
    // Not supported - just enough for package os.
    
    var ForkLock sync.RWMutex
    
    type WaitStatus uint32
    
    func (w WaitStatus) Exited() bool       { return false }
    func (w WaitStatus) ExitStatus() int    { return 0 }
    func (w WaitStatus) Signaled() bool     { return false }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. security/pkg/pki/util/keycertbundle.go

    	rootCertBytes []byte,
    ) {
    	b.mutex.RLock()
    	cert = b.cert
    	privKey = b.privKey
    	certChainBytes = copyBytes(b.certChainBytes)
    	rootCertBytes = copyBytes(b.rootCertBytes)
    	b.mutex.RUnlock()
    	return
    }
    
    // GetCertChainPem returns the certificate chain PEM.
    func (b *KeyCertBundle) GetCertChainPem() []byte {
    	b.mutex.RLock()
    	defer b.mutex.RUnlock()
    	return copyBytes(b.certChainBytes)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jan 21 06:07:50 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. security/pkg/nodeagent/cache/secretcache.go

    	certWatcher *fsnotify.Watcher
    	// certs being watched with file watcher.
    	fileCerts map[FileCert]struct{}
    	certMutex sync.RWMutex
    
    	// outputMutex protects writes of certificates to disk
    	outputMutex sync.Mutex
    
    	// Dynamically configured Trust Bundle Mutex
    	configTrustBundleMutex sync.RWMutex
    	// Dynamically configured Trust Bundle
    	configTrustBundle []byte
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 04 08:29:46 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/devicemanager/pod_devices.go

    type containerDevices map[string]resourceAllocateInfo   // Keyed by containerName.
    type podDevices struct {
    	sync.RWMutex
    	devs map[string]containerDevices // Keyed by podUID.
    }
    
    // NewPodDevices is a function that returns object of podDevices type with its own guard
    // RWMutex and a map where key is a pod UID and value contains
    // container devices information of type containerDevices.
    func newPodDevices() *podDevices {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 27 02:10:25 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/accesslog.go

    	lal.Filter = addAccessLogFilter()
    
    	b.mutex.Lock()
    	defer b.mutex.Unlock()
    	b.listenerFileAccessLog = lal
    
    	return lal
    }
    
    func (b *AccessLogBuilder) cachedFileAccessLog() *accesslog.AccessLog {
    	b.mutex.RLock()
    	defer b.mutex.RUnlock()
    	return b.fileAccesslog
    }
    
    func (b *AccessLogBuilder) cachedListenerFileAccessLog() *accesslog.AccessLog {
    	b.mutex.RLock()
    	defer b.mutex.RUnlock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top