Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for BatchJobRetry (0.34 sec)

  1. cmd/batch-job-common-types.go

    func (r *BatchJobRetry) UnmarshalYAML(val *yaml.Node) error {
    	type retry BatchJobRetry
    	var tmp retry
    	err := val.Decode(&tmp)
    	if err != nil {
    		return err
    	}
    
    	*r = BatchJobRetry(tmp)
    	r.line, r.col = val.Line, val.Column
    	return nil
    }
    
    // Validate validates input replicate retries.
    func (r BatchJobRetry) Validate() error {
    	if r.Attempts < 0 {
    		return BatchJobYamlErr{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. cmd/batch-job-common-types_gen_test.go

    	}
    }
    
    func BenchmarkMarshalMsgBatchJobRetry(b *testing.B) {
    	v := BatchJobRetry{}
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.MarshalMsg(nil)
    	}
    }
    
    func BenchmarkAppendMsgBatchJobRetry(b *testing.B) {
    	v := BatchJobRetry{}
    	bts := make([]byte, 0, v.Msgsize())
    	bts, _ = v.MarshalMsg(bts[0:0])
    	b.SetBytes(int64(len(bts)))
    	b.ReportAllocs()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  3. cmd/batch-job-common-types_gen.go

    func (z BatchJobNotification) Msgsize() (s int) {
    	s = 1 + 9 + msgp.StringPrefixSize + len(z.Endpoint) + 6 + msgp.StringPrefixSize + len(z.Token)
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    func (z *BatchJobRetry) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  4. cmd/batch-replicate.go

    // - filter
    // - notify
    // - retry
    type BatchJobReplicateFlags struct {
    	Filter BatchReplicateFilter `yaml:"filter" json:"filter"`
    	Notify BatchJobNotification `yaml:"notify" json:"notify"`
    	Retry  BatchJobRetry        `yaml:"retry" json:"retry"`
    }
    
    // BatchJobReplicateResourceType defines the type of batch jobs
    type BatchJobReplicateResourceType string
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Nov 22 18:51:46 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  5. cmd/batch-rotate.go

    // - filter
    // - notify
    // - retry
    type BatchJobKeyRotateFlags struct {
    	Filter BatchKeyRotateFilter `yaml:"filter" json:"filter"`
    	Notify BatchJobNotification `yaml:"notify" json:"notify"`
    	Retry  BatchJobRetry        `yaml:"retry" json:"retry"`
    }
    
    // BatchJobKeyRotateV1 v1 of batch key rotation job
    type BatchJobKeyRotateV1 struct {
    	APIVersion string                      `yaml:"apiVersion" json:"apiVersion"`
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  6. cmd/batch-expire.go

    	Bucket          string                 `yaml:"bucket" json:"bucket"`
    	Prefix          string                 `yaml:"prefix" json:"prefix"`
    	NotificationCfg BatchJobNotification   `yaml:"notify" json:"notify"`
    	Retry           BatchJobRetry          `yaml:"retry" json:"retry"`
    	Rules           []BatchJobExpireFilter `yaml:"rules" json:"rules"`
    }
    
    var _ yaml.Unmarshaler = &BatchJobExpire{}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 13:50:53 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top