Documentation ¶
Index ¶
Constants ¶
View Source
const (
// PluginName declares public plugin name.
PluginName = "status"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Address of the http server Address string UnavailableStatusCode int `mapstructure:"unavailable_status_code"` }
Config is the configuration reference for the Status plugin
type Configurer ¶
type Health ¶ added in v4.1.0
type Health struct {
// contains filtered or unexported fields
}
func NewHealthHandler ¶ added in v4.1.0
type Jobs ¶ added in v4.1.0
type Jobs struct {
// contains filtered or unexported fields
}
func NewJobsHandler ¶ added in v4.1.0
func NewJobsHandler(jc JobsChecker, log *zap.Logger, usc int) *Jobs
type JobsChecker ¶ added in v4.1.0
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
type Readiness ¶
Readiness interface used to get readiness status from the plugin that means, that worker poll inside the plugin has 1+ plugins which are ready to work at the particular moment
type Ready ¶ added in v4.1.0
type Ready struct {
// contains filtered or unexported fields
}
func NewReadyHandler ¶ added in v4.1.0
Click to show internal directories.
Click to hide internal directories.