forked from rancher/types
/
zz_generated_queue_config.go
24 lines (22 loc) · 1.18 KB
/
zz_generated_queue_config.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package client
const (
QueueConfigType = "queueConfig"
QueueConfigFieldBatchSendDeadline = "batchSendDeadline"
QueueConfigFieldCapacity = "capacity"
QueueConfigFieldMaxBackoff = "maxBackoff"
QueueConfigFieldMaxRetries = "maxRetries"
QueueConfigFieldMaxSamplesPerSend = "maxSamplesPerSend"
QueueConfigFieldMaxShards = "maxShards"
QueueConfigFieldMinBackoff = "minBackoff"
QueueConfigFieldMinShards = "minShards"
)
type QueueConfig struct {
BatchSendDeadline string `json:"batchSendDeadline,omitempty" yaml:"batchSendDeadline,omitempty"`
Capacity int64 `json:"capacity,omitempty" yaml:"capacity,omitempty"`
MaxBackoff string `json:"maxBackoff,omitempty" yaml:"maxBackoff,omitempty"`
MaxRetries int64 `json:"maxRetries,omitempty" yaml:"maxRetries,omitempty"`
MaxSamplesPerSend int64 `json:"maxSamplesPerSend,omitempty" yaml:"maxSamplesPerSend,omitempty"`
MaxShards int64 `json:"maxShards,omitempty" yaml:"maxShards,omitempty"`
MinBackoff string `json:"minBackoff,omitempty" yaml:"minBackoff,omitempty"`
MinShards int64 `json:"minShards,omitempty" yaml:"minShards,omitempty"`
}