mirror of
https://github.com/postmannen/ctrl.git
synced 2025-03-31 01:24:31 +00:00
up toml pkg to v2, added comments to config file
This commit is contained in:
parent
fb4cf5de79
commit
11b0444929
3 changed files with 102 additions and 116 deletions
|
@ -7,7 +7,7 @@ import (
|
|||
"os"
|
||||
"path/filepath"
|
||||
|
||||
toml "github.com/pelletier/go-toml"
|
||||
toml "github.com/pelletier/go-toml/v2"
|
||||
)
|
||||
|
||||
// Configuration are the structure that holds all the different
|
||||
|
@ -17,127 +17,126 @@ import (
|
|||
// an if check should be added to the checkConfigValues function
|
||||
// to set default values when reading from config file.
|
||||
type Configuration struct {
|
||||
// RingBufferPermStore enable or disable the persisting of
|
||||
// RingBufferPersistStore, enable or disable the persisting of
|
||||
// messages being processed to local db.
|
||||
RingBufferPersistStore bool
|
||||
RingBufferPersistStore bool `comment:"RingBufferPersistStore, enable or disable the persisting of messages being processed to local db"`
|
||||
// RingBufferSize
|
||||
RingBufferSize int
|
||||
// The configuration folder on disk
|
||||
ConfigFolder string
|
||||
RingBufferSize int `comment:"RingBufferSize"`
|
||||
// ConfigFolder, the location for the configuration folder on disk
|
||||
ConfigFolder string `comment:"ConfigFolder, the location for the configuration folder on disk"`
|
||||
// The folder where the socket file should live
|
||||
SocketFolder string
|
||||
// TCP Listener for sending messages to the system
|
||||
TCPListener string
|
||||
// HTTP Listener for sending messages to the system
|
||||
HTTPListener string
|
||||
SocketFolder string `comment:"The folder where the socket file should live"`
|
||||
// TCP Listener for sending messages to the system, <host>:<port>
|
||||
TCPListener string `comment:"TCP Listener for sending messages to the system, <host>:<port>"`
|
||||
// HTTP Listener for sending messages to the system, <host>:<port>
|
||||
HTTPListener string `comment:"HTTP Listener for sending messages to the system, <host>:<port>"`
|
||||
// The folder where the database should live
|
||||
DatabaseFolder string
|
||||
// some unique string to identify this Edge unit
|
||||
NodeName string
|
||||
// the address of the message broker
|
||||
BrokerAddress string
|
||||
DatabaseFolder string `comment:"The folder where the database should live"`
|
||||
// Unique string to identify this Edge unit
|
||||
NodeName string `comment:"Unique string to identify this Edge unit"`
|
||||
// The address of the message broker, <address>:<port>
|
||||
BrokerAddress string `comment:"The address of the message broker, <address>:<port>"`
|
||||
// NatsConnOptTimeout the timeout for trying the connect to nats broker
|
||||
NatsConnOptTimeout int
|
||||
// nats connect retry
|
||||
NatsConnectRetryInterval int
|
||||
NatsConnOptTimeout int `comment:"NatsConnOptTimeout the timeout for trying the connect to nats broker"`
|
||||
// Nats connect retry interval in seconds
|
||||
NatsConnectRetryInterval int `comment:"Nats connect retry interval in seconds"`
|
||||
// NatsReconnectJitter in milliseconds
|
||||
NatsReconnectJitter int
|
||||
NatsReconnectJitter int `comment:"NatsReconnectJitter in milliseconds"`
|
||||
// NatsReconnectJitterTLS in seconds
|
||||
NatsReconnectJitterTLS int
|
||||
NatsReconnectJitterTLS int `comment:"NatsReconnectJitterTLS in seconds"`
|
||||
// REQKeysRequestUpdateInterval in seconds
|
||||
REQKeysRequestUpdateInterval int
|
||||
REQKeysRequestUpdateInterval int `comment:"REQKeysRequestUpdateInterval in seconds"`
|
||||
// REQAclRequestUpdateInterval in seconds
|
||||
REQAclRequestUpdateInterval int
|
||||
REQAclRequestUpdateInterval int `comment:"REQAclRequestUpdateInterval in seconds"`
|
||||
// The number of the profiling port
|
||||
ProfilingPort string
|
||||
// host and port for prometheus listener, e.g. localhost:2112
|
||||
PromHostAndPort string
|
||||
// set to true if this is the node that should receive the error log's from other nodes
|
||||
DefaultMessageTimeout int
|
||||
// Default value for how long can a request method max be allowed to run.
|
||||
DefaultMethodTimeout int
|
||||
// default amount of retries that will be done before a message is thrown away, and out of the system
|
||||
DefaultMessageRetries int
|
||||
// Publisher data folder
|
||||
SubscribersDataFolder string
|
||||
// central node to receive messages published from nodes
|
||||
CentralNodeName string
|
||||
// Path to the certificate of the root CA
|
||||
RootCAPath string
|
||||
ProfilingPort string `comment:"The number of the profiling port"`
|
||||
// Host and port for prometheus listener, e.g. localhost:2112
|
||||
PromHostAndPort string `comment:"Host and port for prometheus listener, e.g. localhost:2112"`
|
||||
// Set to true if this is the node that should receive the error log's from other nodes
|
||||
DefaultMessageTimeout int `comment:"Set to true if this is the node that should receive the error log's from other nodes"`
|
||||
// Default value for how long can a request method max be allowed to run in seconds
|
||||
DefaultMethodTimeout int `comment:"Default value for how long can a request method max be allowed to run in seconds"`
|
||||
// Default amount of retries that will be done before a message is thrown away, and out of the system
|
||||
DefaultMessageRetries int `comment:"Default amount of retries that will be done before a message is thrown away, and out of the system"`
|
||||
// The path to the data folder
|
||||
SubscribersDataFolder string `comment:"The path to the data folder"`
|
||||
// Name of central node to receive logs, errors, key/acl handling
|
||||
CentralNodeName string `comment:"Name of central node to receive logs, errors, key/acl handling"`
|
||||
// The full path to the certificate of the root CA
|
||||
RootCAPath string `comment:"The full path to the certificate of the root CA"`
|
||||
// Full path to the NKEY's seed file
|
||||
NkeySeedFile string
|
||||
// NkeyPublicKey
|
||||
NkeySeedFile string `comment:"Full path to the NKEY's seed file"`
|
||||
// The full path to the NKEY user file
|
||||
NkeyPublicKey string `toml:"-"`
|
||||
// The host and port to expose the data folder
|
||||
ExposeDataFolder string
|
||||
// Timeout for error messages
|
||||
ErrorMessageTimeout int
|
||||
// Retries for error messages.
|
||||
ErrorMessageRetries int
|
||||
// Compression
|
||||
Compression string
|
||||
// Serialization
|
||||
Serialization string
|
||||
// The host and port to expose the data folder, <host>:<port>
|
||||
ExposeDataFolder string `comment:"The host and port to expose the data folder, <host>:<port>"`
|
||||
// Timeout in seconds for error messages
|
||||
ErrorMessageTimeout int `comment:"Timeout in seconds for error messages"`
|
||||
// Retries for error messages
|
||||
ErrorMessageRetries int `comment:"Retries for error messages"`
|
||||
// Compression z for zstd or g for gzip
|
||||
Compression string `comment:"Compression z for zstd or g for gzip"`
|
||||
// Serialization, supports cbor or gob,default is gob. Enable cbor by setting the string value cbor
|
||||
Serialization string `comment:"Serialization, supports cbor or gob,default is gob. Enable cbor by setting the string value cbor"`
|
||||
// SetBlockProfileRate for block profiling
|
||||
SetBlockProfileRate int
|
||||
SetBlockProfileRate int `comment:"SetBlockProfileRate for block profiling"`
|
||||
// EnableSocket for enabling the creation of a steward.sock file
|
||||
EnableSocket bool
|
||||
EnableSocket bool `comment:"EnableSocket for enabling the creation of a steward.sock file"`
|
||||
// EnableTUI will enable the Terminal User Interface
|
||||
EnableTUI bool
|
||||
// EnableSignatureCheck
|
||||
EnableSignatureCheck bool
|
||||
// EnableAclCheck
|
||||
EnableAclCheck bool
|
||||
// IsCentralAuth
|
||||
IsCentralAuth bool
|
||||
// EnableDebug will also enable printing all the messages received in the errorKernel
|
||||
// to STDERR.
|
||||
EnableDebug bool
|
||||
// KeepPublishersAliveFor number of seconds.
|
||||
EnableTUI bool `comment:"EnableTUI will enable the Terminal User Interface"`
|
||||
// EnableSignatureCheck to enable signature checking
|
||||
EnableSignatureCheck bool `comment:"EnableSignatureCheck to enable signature checking"`
|
||||
// EnableAclCheck to enable ACL checking
|
||||
EnableAclCheck bool `comment:"EnableAclCheck to enable ACL checking"`
|
||||
// IsCentralAuth, enable to make this instance take the role as the central auth server
|
||||
IsCentralAuth bool `comment:"IsCentralAuth, enable to make this instance take the role as the central auth server"`
|
||||
// EnableDebug will also enable printing all the messages received in the errorKernel to STDERR.
|
||||
EnableDebug bool `comment:"EnableDebug will also enable printing all the messages received in the errorKernel to STDERR."`
|
||||
// KeepPublishersAliveFor number of seconds
|
||||
// Timer that will be used for when to remove the sub process
|
||||
// publisher. The timer is reset each time a message is published with
|
||||
// the process, so the sub process publisher will not be removed until
|
||||
// it have not received any messages for the given amount of time.
|
||||
KeepPublishersAliveFor int
|
||||
KeepPublishersAliveFor int `comment:"KeepPublishersAliveFor number of seconds Timer that will be used for when to remove the sub process publisher. The timer is reset each time a message is published with the process, so the sub process publisher will not be removed until it have not received any messages for the given amount of time."`
|
||||
|
||||
// Make the current node send hello messages to central at given interval in seconds
|
||||
StartPubREQHello int
|
||||
// StartPubREQHello, sets the interval in seconds for how often we send hello messages to central server
|
||||
StartPubREQHello int `comment:"StartPubREQHello, sets the interval in seconds for how often we send hello messages to central server"`
|
||||
// Enable the updates of public keys
|
||||
EnableKeyUpdates bool
|
||||
EnableKeyUpdates bool `comment:"Enable the updates of public keys"`
|
||||
|
||||
// Enable the updates of acl's
|
||||
EnableAclUpdates bool
|
||||
EnableAclUpdates bool `comment:"Enable the updates of acl's"`
|
||||
|
||||
// Start the central error logger.
|
||||
IsCentralErrorLogger bool
|
||||
// Subscriber for hello messages
|
||||
StartSubREQHello bool
|
||||
// Subscriber for text logging
|
||||
StartSubREQToFileAppend bool
|
||||
// Subscriber for writing to file
|
||||
StartSubREQToFile bool
|
||||
// Subscriber for writing to file without ACK
|
||||
StartSubREQToFileNACK bool
|
||||
// Subscriber for reading files to copy
|
||||
StartSubREQCopySrc bool
|
||||
// Subscriber for writing copied files to disk
|
||||
StartSubREQCopyDst bool
|
||||
// Subscriber for Echo Request
|
||||
StartSubREQPing bool
|
||||
// Subscriber for Echo Reply
|
||||
StartSubREQPong bool
|
||||
// Subscriber for CLICommandRequest
|
||||
StartSubREQCliCommand bool
|
||||
// Subscriber for REQToConsole
|
||||
StartSubREQToConsole bool
|
||||
// Subscriber for REQHttpGet
|
||||
StartSubREQHttpGet bool
|
||||
// Subscriber for REQHttpGetScheduled
|
||||
StartSubREQHttpGetScheduled bool
|
||||
// Subscriber for tailing log files
|
||||
StartSubREQTailFile bool
|
||||
// Subscriber for continously delivery of output from cli commands.
|
||||
StartSubREQCliCommandCont bool
|
||||
IsCentralErrorLogger bool `comment:"Start the central error logger."`
|
||||
// Start subscriber for hello messages
|
||||
StartSubREQHello bool `comment:"Start subscriber for hello messages"`
|
||||
// Start subscriber for text logging
|
||||
StartSubREQToFileAppend bool `comment:"Start subscriber for text logging"`
|
||||
// Start subscriber for writing to file
|
||||
StartSubREQToFile bool `comment:"Start subscriber for writing to file"`
|
||||
// Start subscriber for writing to file without ACK
|
||||
StartSubREQToFileNACK bool `comment:"Start subscriber for writing to file without ACK"`
|
||||
// Start subscriber for reading files to copy
|
||||
StartSubREQCopySrc bool `comment:"Start subscriber for reading files to copy"`
|
||||
// Start subscriber for writing copied files to disk
|
||||
StartSubREQCopyDst bool `comment:"Start subscriber for writing copied files to disk"`
|
||||
// Start subscriber for Echo Request
|
||||
StartSubREQPing bool `comment:"Start subscriber for Echo Request"`
|
||||
// Start subscriber for Echo Reply
|
||||
StartSubREQPong bool `comment:"Start subscriber for Echo Reply"`
|
||||
// Start subscriber for CLICommandRequest
|
||||
StartSubREQCliCommand bool `comment:"Start subscriber for CLICommandRequest"`
|
||||
// Start subscriber for REQToConsole
|
||||
StartSubREQToConsole bool `comment:"Start subscriber for REQToConsole"`
|
||||
// Start subscriber for REQHttpGet
|
||||
StartSubREQHttpGet bool `comment:"Start subscriber for REQHttpGet"`
|
||||
// Start subscriber for REQHttpGetScheduled
|
||||
StartSubREQHttpGetScheduled bool `comment:"Start subscriber for REQHttpGetScheduled"`
|
||||
// Start subscriber for tailing log files
|
||||
StartSubREQTailFile bool `comment:"Start subscriber for tailing log files"`
|
||||
// Start subscriber for continously delivery of output from cli commands.
|
||||
StartSubREQCliCommandCont bool `comment:"Start subscriber for continously delivery of output from cli commands."`
|
||||
}
|
||||
|
||||
// ConfigurationFromFile should have the same structure as
|
||||
|
|
2
go.mod
2
go.mod
|
@ -13,7 +13,7 @@ require (
|
|||
github.com/klauspost/compress v1.15.6
|
||||
github.com/nats-io/nats-server/v2 v2.8.4
|
||||
github.com/nats-io/nats.go v1.16.0
|
||||
github.com/pelletier/go-toml v1.9.5
|
||||
github.com/pelletier/go-toml/v2 v2.0.2
|
||||
github.com/pkg/profile v1.6.0
|
||||
github.com/prometheus/client_golang v1.12.2
|
||||
github.com/rivo/tview v0.0.0-20220106183741-90d72bc664f5
|
||||
|
|
23
go.sum
23
go.sum
|
@ -43,7 +43,6 @@ github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+Ce
|
|||
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
|
||||
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
|
||||
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
|
||||
github.com/cespare/xxhash/v2 v2.1.1 h1:6MnRN8NT7+YBpUIWxHtefFZOKTAPgGjpQSxqLNn0+qY=
|
||||
github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
|
||||
github.com/cespare/xxhash/v2 v2.1.2 h1:YRXhKfTDauu4ajMg1TPgFO5jnlC2HCbmLXMcTG5cbYE=
|
||||
github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
|
||||
|
@ -62,8 +61,6 @@ github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1m
|
|||
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
|
||||
github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4=
|
||||
github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ=
|
||||
github.com/fxamacker/cbor/v2 v2.3.1 h1:4sjmfkL6jTl8jChPYfGms0cSSsCJRlA/JdkLjGnZxPk=
|
||||
github.com/fxamacker/cbor/v2 v2.3.1/go.mod h1:TA1xS00nchWmaBnEIxPSE5oHLuJBAVvqrtAnWBwBCVo=
|
||||
github.com/fxamacker/cbor/v2 v2.4.0 h1:ri0ArlOR+5XunOP8CRUowT0pSJOwhW098ZCUyskZD88=
|
||||
github.com/fxamacker/cbor/v2 v2.4.0/go.mod h1:TA1xS00nchWmaBnEIxPSE5oHLuJBAVvqrtAnWBwBCVo=
|
||||
github.com/gdamore/encoding v1.0.0 h1:+7OoQ1Bc6eTm5niUzBa0Ctsh6JbMW6Ra+YNuAtDBdko=
|
||||
|
@ -115,7 +112,6 @@ github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:W
|
|||
github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0=
|
||||
github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8=
|
||||
github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
|
||||
github.com/golang/protobuf v1.4.3 h1:JjCZWpVbqXDqFVmTfYWEVTMIYrL/NPdPSCHPJ0T/raM=
|
||||
github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
|
||||
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
|
||||
github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw=
|
||||
|
@ -198,18 +194,14 @@ github.com/nats-io/jwt/v2 v2.2.1-0.20220330180145-442af02fd36a h1:lem6QCvxR0Y28g
|
|||
github.com/nats-io/jwt/v2 v2.2.1-0.20220330180145-442af02fd36a/go.mod h1:0tqz9Hlu6bCBFLWAASKhE5vUA4c24L9KPUUgvwumE/k=
|
||||
github.com/nats-io/nats-server/v2 v2.8.4 h1:0jQzze1T9mECg8YZEl8+WYUXb9JKluJfCBriPUtluB4=
|
||||
github.com/nats-io/nats-server/v2 v2.8.4/go.mod h1:8zZa+Al3WsESfmgSs98Fi06dRWLH5Bnq90m5bKD/eT4=
|
||||
github.com/nats-io/nats.go v1.15.0 h1:3IXNBolWrwIUf2soxh6Rla8gPzYWEZQBUBK6RV21s+o=
|
||||
github.com/nats-io/nats.go v1.15.0/go.mod h1:BPko4oXsySz4aSWeFgOHLZs3G4Jq4ZAyE6/zMCxRT6w=
|
||||
github.com/nats-io/nats.go v1.16.0 h1:zvLE7fGBQYW6MWaFaRdsgm9qT39PJDQoju+DS8KsO1g=
|
||||
github.com/nats-io/nats.go v1.16.0/go.mod h1:BPko4oXsySz4aSWeFgOHLZs3G4Jq4ZAyE6/zMCxRT6w=
|
||||
github.com/nats-io/nkeys v0.3.0 h1:cgM5tL53EvYRU+2YLXIK0G2mJtK12Ft9oeooSZMA2G8=
|
||||
github.com/nats-io/nkeys v0.3.0/go.mod h1:gvUNGjVcM2IPr5rCsRsC6Wb3Hr2CQAm08dsxtV6A5y4=
|
||||
github.com/nats-io/nuid v1.0.1 h1:5iA8DT8V7q8WK2EScv2padNa/rTESc1KdnPw4TC2paw=
|
||||
github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c=
|
||||
github.com/pelletier/go-toml v1.8.1 h1:1Nf83orprkJyknT6h7zbuEGUEjcyVlCxSUGTENmNCRM=
|
||||
github.com/pelletier/go-toml v1.8.1/go.mod h1:T2/BmBdy8dvIRq1a/8aqjN41wvWlN4lrapLU/GW4pbc=
|
||||
github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8=
|
||||
github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c=
|
||||
github.com/pelletier/go-toml/v2 v2.0.2 h1:+jQXlF3scKIcSEKkdHzXhCTDLPFi5r1wnK6yPS+49Gw=
|
||||
github.com/pelletier/go-toml/v2 v2.0.2/go.mod h1:MovirKjgVRESsAvNZlAjtFwV867yGuwRkXbG66OzopI=
|
||||
github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA=
|
||||
github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
|
||||
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
|
||||
|
@ -221,7 +213,6 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN
|
|||
github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw=
|
||||
github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo=
|
||||
github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M=
|
||||
github.com/prometheus/client_golang v1.11.0 h1:HNkLOAEQMIDv/K+04rukrLx6ch7msSRwf3/SASFAGtQ=
|
||||
github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0=
|
||||
github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY=
|
||||
github.com/prometheus/client_golang v1.12.2 h1:51L9cDoUHVrXx4zWYlcLQIZ+d+VXHgqnYKkIuq4g/34=
|
||||
|
@ -233,7 +224,6 @@ github.com/prometheus/client_model v0.2.0 h1:uq5h0d+GuxiXLJLNABMgp2qUWDPiLvgCzz2
|
|||
github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
|
||||
github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4=
|
||||
github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo=
|
||||
github.com/prometheus/common v0.26.0 h1:iMAkS2TDoNWnKM+Kopnx/8tnEStIfpYA0ur0xQzzhMQ=
|
||||
github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc=
|
||||
github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls=
|
||||
github.com/prometheus/common v0.35.0 h1:Eyr+Pw2VymWejHqCugNaQXkAi6KayVNxaHeu6khmFBE=
|
||||
|
@ -241,7 +231,6 @@ github.com/prometheus/common v0.35.0/go.mod h1:phzohg0JFMnBEFGxTDbfu3QyL5GI8gTQJ
|
|||
github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
|
||||
github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA=
|
||||
github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU=
|
||||
github.com/prometheus/procfs v0.6.0 h1:mxy4L2jP6qMonqmq+aTtOx1ifVWUgG/TAmntgbh3xv4=
|
||||
github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA=
|
||||
github.com/prometheus/procfs v0.7.3 h1:4jVXhlkAyzOScmCkXBTOLRLTz8EeU+eyjrwB/EPq0VU=
|
||||
github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA=
|
||||
|
@ -262,15 +251,14 @@ github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXf
|
|||
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
|
||||
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
|
||||
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
||||
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
|
||||
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
||||
github.com/stretchr/testify v1.7.2 h1:4jaiDzPyXQvSd7D0EjG45355tLlV3VOECpq10pLC+8s=
|
||||
github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals=
|
||||
github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM=
|
||||
github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg=
|
||||
github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
|
||||
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
|
||||
github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
|
||||
go.etcd.io/bbolt v1.3.5 h1:XAzx9gjCb0Rxj7EoqcClPD1d5ZBxZJk0jbuoPHenBt0=
|
||||
go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ=
|
||||
go.etcd.io/bbolt v1.3.6 h1:/ecaJf0sk1l4l6V4awd65v2C3ILy7MSj+s/x1ADCIMU=
|
||||
go.etcd.io/bbolt v1.3.6/go.mod h1:qXsaaIqmgQH0T+OPdb99Bf+PKfBBQVAdyD6TY9G8XM4=
|
||||
go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
|
||||
|
@ -472,8 +460,8 @@ golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc
|
|||
golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
|
||||
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
|
||||
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=
|
||||
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||
google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE=
|
||||
google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M=
|
||||
|
@ -548,7 +536,6 @@ google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2
|
|||
google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
|
||||
google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4=
|
||||
google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c=
|
||||
google.golang.org/protobuf v1.26.0-rc.1 h1:7QnIQpGRHE5RnLKnESfDoxm2dTapTZua5a0kS0A+VXQ=
|
||||
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
|
||||
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
|
||||
google.golang.org/protobuf v1.28.0 h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw=
|
||||
|
|
Loading…
Add table
Reference in a new issue