2023-02-03 20:05:04 +01:00
|
|
|
// Copyright (C) 2023 Opsmate, Inc.
|
|
|
|
//
|
|
|
|
// This Source Code Form is subject to the terms of the Mozilla
|
|
|
|
// Public License, v. 2.0. If a copy of the MPL was not distributed
|
|
|
|
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
//
|
|
|
|
// This software is distributed WITHOUT A WARRANTY OF ANY KIND.
|
|
|
|
// See the Mozilla Public License for details.
|
|
|
|
|
|
|
|
package monitor
|
|
|
|
|
2023-02-06 15:18:37 +01:00
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
)
|
|
|
|
|
2023-02-03 20:05:04 +01:00
|
|
|
type Config struct {
|
2023-02-06 15:18:53 +01:00
|
|
|
LogListSource string
|
2024-04-04 02:06:00 +02:00
|
|
|
State StateProvider
|
2023-02-06 15:18:53 +01:00
|
|
|
StartAtEnd bool
|
|
|
|
WatchList WatchList
|
|
|
|
Verbose bool
|
2023-02-06 15:18:37 +01:00
|
|
|
HealthCheckInterval time.Duration
|
2023-02-03 20:05:04 +01:00
|
|
|
}
|