config

package
v1.2.1-2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2015 License: Apache-2.0 Imports: 0 Imported by: 17

Documentation

Index

Constants

View Source
const (
	// AgentImageName is the name of the Docker image containing the Agent
	AgentImageName = "amazon/amazon-ecs-agent:latest"

	// AgentContainerName is the name of the Agent container started by this program
	AgentContainerName = "ecs-agent"

	// AgentLogFile is the name of the log file used by the Agent
	AgentLogFile = "ecs-agent.log"
)

Variables

This section is empty.

Functions

func AgentConfigDirectory

func AgentConfigDirectory() string

AgentConfigDirectory returns the location on disk for configuration

func AgentConfigFile

func AgentConfigFile() string

AgentConfigFile returns the location of a file of environment variables passed to the Agent

func AgentDataDirectory

func AgentDataDirectory() string

AgentDataDirectory returns the location on disk where state should be saved

func AgentJSONConfigFile

func AgentJSONConfigFile() string

AgentJSONConfigFile returns the location of a file containing configuration expressed in JSON

func AgentRemoteTarball

func AgentRemoteTarball() string

AgentRemoteTarball is the remote location of the Agent image, used for populating the cache

func AgentRemoteTarballMD5

func AgentRemoteTarballMD5() string

AgentRemoteTarballMD5 is the remote location of a md5sum used to verify the integrity of the AgentRemoteTarball

func AgentTarball

func AgentTarball() string

AgentTarball returns the location on disk of the cached Agent image

func CacheDirectory

func CacheDirectory() string

CacheDirectory returns the location on disk where Agent images should be cached

func CacheState

func CacheState() string

CacheState returns the location on disk where cache state is stored

func CgroupDirectory

func CgroupDirectory() string

func DesiredImageLocatorFile

func DesiredImageLocatorFile() string

DesiredImageLocatorFile returns the location on disk of a well-known file describing an Agent image to load

func ExecDriverDirectory

func ExecDriverDirectory() string

func LogDirectory

func LogDirectory() string

LogDirectory returns the location on disk where logs should be placed

func Logger

func Logger() string

Logger holds the bundled log configuration for seelog

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL