- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,277 for batch (0.19 sec)
-
internal/config/batch/batch.go
EnvReplicationWorkersWait = "MINIO_BATCH_REPLICATION_WORKERS_WAIT" EnvKeyRotationWorkersWait = "MINIO_BATCH_KEYROTATION_WORKERS_WAIT" EnvKeyExpirationWorkersWait = "MINIO_BATCH_EXPIRATION_WORKERS_WAIT" ) var configMu sync.RWMutex // Config represents the batch job settings. type Config struct { ReplicationWorkersWait time.Duration `json:"replicationWorkersWait"`
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Wed Dec 06 09:09:22 GMT 2023 - 4.7K bytes - Viewed (0) -
internal/store/batch.go
"fmt" "sync" ) // ErrBatchFull indicates that the batch is full var ErrBatchFull = errors.New("batch is full") type key interface { string | int | int64 } // Batch represents an ordered batch type Batch[K key, T any] struct { keys []K items map[K]T limit uint32 sync.Mutex } // Add adds the item to the batch func (b *Batch[K, T]) Add(key K, item T) error { b.Lock() defer b.Unlock()
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Sat Oct 07 15:07:38 GMT 2023 - 2.5K bytes - Viewed (0) -
internal/store/batch_test.go
} if !batch.IsFull() { t.Fatal("Expected batch.IsFull to be true but got false") } batchLen := batch.Len() if batchLen != int(limit) { t.Fatalf("expected batch length to be %v but got %v", limit, batchLen) } keys, items, err := batch.GetAll() if err != nil { t.Fatalf("unable to get the items from the batch; %v", err) } if len(items) != int(limit) {
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Sat Oct 07 15:07:38 GMT 2023 - 3.8K bytes - Viewed (0) -
cmd/batch-replicate.go
return t == BatchJobReplicateResourceMinIO } // Different types of batch jobs.. const ( BatchJobReplicateResourceMinIO BatchJobReplicateResourceType = "minio" BatchJobReplicateResourceS3 BatchJobReplicateResourceType = "s3" // add future targets ) // BatchJobReplicateCredentials access credentials for batch replication it may // be either for target or source.
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Wed Nov 22 18:51:46 GMT 2023 - 6.3K bytes - Viewed (0) -
cmd/batch-expire_test.go
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 3K bytes - Viewed (0) -
cmd/batch-job-common-types.go
type BatchJobSnowball struct { line, col int Disable *bool `yaml:"disable" json:"disable"` Batch *int `yaml:"batch" json:"batch"` InMemory *bool `yaml:"inmemory" json:"inmemory"` Compress *bool `yaml:"compress" json:"compress"` SmallerThan *string `yaml:"smallerThan" json:"smallerThan"`
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Feb 01 21:53:26 GMT 2024 - 7.9K bytes - Viewed (0) -
cmd/batch-job-common-types_test.go
t.Fatalf("Expected %v but got %v", test.want, got) } }) } } func TestBatchJobSizeValidate(t *testing.T) { errInvalidBatchJobSizeFilter := BatchJobYamlErr{ msg: "invalid batch-job size filter", } tests := []struct { sizeFilter BatchJobSizeFilter err error }{ { // Unspecified size filter is a valid filter sizeFilter: BatchJobSizeFilter{ UpperBound: 0,
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Jan 08 23:22:28 GMT 2024 - 3.3K bytes - Viewed (0) -
cmd/batch-expire_gen_test.go
Krishnan Parthasarathi <******@****.***> 1701514293 -0800
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sat Dec 02 10:51:33 GMT 2023 - 6.9K bytes - Viewed (0) -
cmd/batch-handlers_gen_test.go
Krishnan Parthasarathi <******@****.***> 1693333643 -0700
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Aug 29 18:27:23 GMT 2023 - 4.5K bytes - Viewed (0) -
docs/batch-jobs/README.md
## Batch Jobs via Commandline [mc](http://github.com/minio/mc) provides 'mc batch' command to create, start and manage submitted jobs. ``` NAME: mc batch - manage batch jobs USAGE: mc batch COMMAND [COMMAND FLAGS | -h] [ARGUMENTS...] COMMANDS: generate generate a new batch job definition start start a new batch job
Plain Text - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Oct 06 06:00:43 GMT 2022 - 4.8K bytes - Viewed (0)