Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for exclusions (0.18 sec)

  1. internal/lsync/lrwmutex.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package lsync
    
    import (
    	"context"
    	"math"
    	"math/rand"
    	"sync"
    	"time"
    )
    
    // A LRWMutex is a mutual exclusion lock with timeouts.
    type LRWMutex struct {
    	id          string
    	source      string
    	isWriteLock bool
    	ref         int
    	mu          sync.Mutex // Mutex to prevent multiple simultaneous locks
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/informers_test.go

    	fs.AssertExpectations(t)
    
    	// annotate Pod as disabled should cause only one RemovePodFromMesh to happen
    	fs.On("RemovePodFromMesh",
    		ctx,
    		mock.Anything,
    	).Once().Return(nil)
    
    	// label the pod for exclusion
    	labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":"%s"}}}`,
    		constants.DataplaneModeLabel, constants.DataplaneModeNone))
    	_, err = client.Kube().CoreV1().Pods(pod.Namespace).Patch(ctx, pod.Name,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  3. internal/bucket/versioning/versioning.go

    	XMLName xml.Name `xml:"VersioningConfiguration"`
    	// MFADelete State    `xml:"MFADelete,omitempty"` // not supported yet.
    	Status State `xml:"Status,omitempty"`
    	// MinIO extension - allows selective, prefix-level versioning exclusion.
    	// Requires versioning to be enabled
    	ExcludedPrefixes []ExcludedPrefix `xml:",omitempty"`
    	ExcludeFolders   bool             `xml:",omitempty"`
    }
    
    // Validate - validates the versioning configuration
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  4. internal/dsync/drwmutex.go

    	RefreshCall:     drwMutexRefreshCallTimeout,
    	UnlockCall:      drwMutexUnlockCallTimeout,
    	ForceUnlockCall: drwMutexForceUnlockCallTimeout,
    }
    
    // A DRWMutex is a distributed mutual exclusion lock.
    type DRWMutex struct {
    	Names                []string
    	writeLocks           []string // Array of nodes that granted a write lock
    	readLocks            []string // Array of array of nodes that granted reader locks
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
Back to top