aboutsummaryrefslogtreecommitdiffstats
path: root/library/go/yandex/solomon/reporters/puller/httppuller/tvm.go
blob: e6afeec115744024c9eded845ee665afc575197e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package httppuller

import "github.com/ydb-platform/ydb/library/go/yandex/tvm"

const (
	FetcherPreTVMID  = 2012024
	FetcherTestTVMID = 2012026
	FetcherProdTVMID = 2012028
)

var (
	AllFetchers = []tvm.ClientID{
		FetcherPreTVMID,
		FetcherTestTVMID,
		FetcherProdTVMID,
	}
)

type tvmOption struct {
	client tvm.Client
}

func (*tvmOption) isOption() {}

func WithTVM(tvm tvm.Client) Option {
	return &tvmOption{client: tvm}
}