Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Jobs (0.14 sec)

  1. cmd/batch-replicate.go

    	Notify BatchJobNotification `yaml:"notify" json:"notify"`
    	Retry  BatchJobRetry        `yaml:"retry" json:"retry"`
    }
    
    // BatchJobReplicateResourceType defines the type of batch jobs
    type BatchJobReplicateResourceType string
    
    // Validate validates if the replicate resource type is recognized and supported
    func (t BatchJobReplicateResourceType) Validate() error {
    	switch t {
    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)
  2. cmd/batch-handlers.go

    	metrics = &madmin.BatchJobMetrics{CollectedAt: time.Now(), Jobs: make(map[string]madmin.JobMetric)}
    	m.RLock()
    	defer m.RUnlock()
    
    	if jobID != "" {
    		if job, ok := m.metrics[jobID]; ok {
    			metrics.Jobs[jobID] = job.metric()
    		}
    		return metrics
    	}
    
    	for id, job := range m.metrics {
    		metrics.Jobs[id] = job.metric()
    	}
    	return metrics
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  3. cmd/veeam-sos-api.go

    //     create a new backup job and select the object storage or a SOBR as a backup target with this setting, the job default
    //     setting will be set to this value. This setting will be only applied to newly created jobs (manual changes with Active Full
    //     processing possible from the customer side).
    //     Optional value, default 1024, allowed values 256,512,1024,4096,8192, value defined in KB size.
    //
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 18:43:58 GMT 2024
    - 8.2K bytes
    - Viewed (2)
  4. cmd/batch-job-common-types.go

    	}
    	if strings.EqualFold(kv.Key, ikv.Key) {
    		return wildcard.Match(kv.Value, ikv.Value)
    	}
    	return false
    }
    
    // BatchJobNotification stores notification endpoint and token information.
    // Used by batch jobs to notify of their status.
    type BatchJobNotification struct {
    	line, col int
    	Endpoint  string `yaml:"endpoint" json:"endpoint"`
    	Token     string `yaml:"token" json:"token"`
    }
    
    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)
  5. cmd/global-heal.go

    					// proceed to heal nonetheless.
    					entry, _ = entries.firstFound()
    				}
    				jt.Take()
    				go healEntry(bucket, *entry)
    			},
    			finished: nil,
    		})
    		jt.Wait() // synchronize all the concurrent heal jobs
    		xioutil.SafeClose(results)
    		if err != nil {
    			// Set this such that when we return this function
    			// we let the caller retry this disk again for the
    			// buckets it failed to list.
    			retErr = err
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 15K bytes
    - Viewed (1)
  6. internal/bucket/versioning/versioning_test.go

    	}
    }
    
    func TestExcludeFolders(t *testing.T) {
    	v := Versioning{
    		Status:         Enabled,
    		ExcludeFolders: true,
    	}
    	testPrefixes := []string{"jobs/output/_temporary/", "jobs/output/", "jobs/"}
    	for i, prefix := range testPrefixes {
    		if v.PrefixEnabled(prefix) || !v.PrefixSuspended(prefix) {
    			t.Fatalf("Test %d: Expected versioning to be excluded for %s", i+1, prefix)
    		}
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun May 08 05:06:44 GMT 2022
    - 8.8K bytes
    - Viewed (0)
  7. src/bufio/scan.go

    			s.start = 0
    		}
    		// Finally we can read some input. Make sure we don't get stuck with
    		// a misbehaving Reader. Officially we don't need to do this, but let's
    		// be extra careful: Scanner is for safe, simple jobs.
    		for loop := 0; ; {
    			n, err := s.r.Read(s.buf[s.end:len(s.buf)])
    			if n < 0 || len(s.buf)-s.end < n {
    				s.setErr(ErrBadReadCount)
    				break
    			}
    			s.end += n
    			if err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  8. cmd/batch-expire.go

    	// Close the saverQuitCh - this also triggers saving in-memory state
    	// immediately one last time before we exit this method.
    	xioutil.SafeClose(saverQuitCh)
    
    	// Notify expire jobs final status to the configured endpoint
    	buf, _ := json.Marshal(ri)
    	if err := r.Notify(context.Background(), bytes.NewReader(buf)); err != nil {
    		batchLogIf(context.Background(), fmt.Errorf("unable to notify %v", err))
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  9. cmd/admin-router.go

    		// Batch job operations
    		adminRouter.Methods(http.MethodPost).Path(adminVersion + "/start-job").HandlerFunc(
    			adminMiddleware(adminAPI.StartBatchJob))
    
    		adminRouter.Methods(http.MethodGet).Path(adminVersion + "/list-jobs").HandlerFunc(
    			adminMiddleware(adminAPI.ListBatchJobs))
    
    		adminRouter.Methods(http.MethodGet).Path(adminVersion + "/describe-job").HandlerFunc(
    			adminMiddleware(adminAPI.DescribeBatchJob))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  10. cmd/metrics-v2_test.go

    	}
    	ticker := time.NewTicker(1 * time.Millisecond)
    	defer ticker.Stop()
    	for _, obs := range observations {
    		// Send observations once every 1ms, to simulate delay between
    		// observations. This is to test the channel based
    		// synchronization used internally.
    		select {
    		case <-ticker.C:
    			ttfbHist.With(prometheus.Labels{"api": obs.label}).Observe(obs.val)
    		}
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 2.3K bytes
    - Viewed (0)
Back to top