Documentation ¶
Overview ¶
Package health contains routines that periodically reports health information of the agent
Index ¶
Constants ¶
View Source
const (
AgentName = "amazon-ssm-agent"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthCheck ¶
type HealthCheck struct {
// contains filtered or unexported fields
}
HealthCheck encapsulates the logic on configuring, starting and stopping core modules
func NewHealthCheck ¶
func NewHealthCheck(context context.T) *HealthCheck
NewHealthCheck creates a new health check core module.
func (*HealthCheck) ModuleExecute ¶
func (h *HealthCheck) ModuleExecute(context context.T) (err error)
Execute starts the scheduling of the health check module
func (*HealthCheck) ModuleName ¶
func (h *HealthCheck) ModuleName() string
Name returns the module name
func (*HealthCheck) ModuleRequestStop ¶
func (h *HealthCheck) ModuleRequestStop(stopType contracts.StopType) (err error)
RequestStop handles the termination of the health check module job
Click to show internal directories.
Click to hide internal directories.