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
type JobsChecker ¶ added in v4.1.0
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) StopHTTPServer ¶ added in v4.6.5
func (c *Plugin) StopHTTPServer()
StopHTTPServer stops the http server, used only for TEST purposes
type Readiness ¶
Readiness interface used to get readiness status from the plugin that means that a worker pool 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.