Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
Engine contains methods invoked when ecs-init is run
func (*Engine) PostStop ¶
PostStop cleans up the credentials endpoint setup by disabling loopback routing and removing the rerouting rule from the netfilter table
func (*Engine) PreStart ¶
PreStart prepares the ECS Agent for starting. It also configures the instance to handle credentials requests from containers by rerouting these requests to to the ECS Agent's credentials endpoint
func (*Engine) ReloadCache ¶
ReloadCache reloads the cached image of the ECS Agent into Docker
func (*Engine) StartSupervised ¶
StartSupervised starts the ECS Agent and ensures it stays running, except for terminal errors (indicated by an agent exit code of 5)
Click to show internal directories.
Click to hide internal directories.