# Functions
CheckContainer does check container details return healthy,run,err.
Check exit code of all the containers in the pod.
No description provided by the author
DockerDump does dump docker.pid and docker-containerd.pid and docker log if docker dump is enabled in config.
EndStep ends the current dce step, and update the result, duraiton.
Force kill pod docker kill -f.
Generate cmd parts docker-compose parts example : docker-compose -f compose.yaml up "docker-compose" will be the main cmd, "-f compose.yaml up" will be parts and return as an array.
GetAndRemoveLabel will fetch the value for the key and removes it from the list.
GetContainerIdByService does query container id by service name.
No description provided by the author
No description provided by the author
No description provided by the author
GetLabel checks if the whole key is the suffix of a label and fetches the value of that label.
Get set of containers id in pod docker-compose -f docker-compose.yaml ps -q.
docker-compose -f docker-compose.yaml ps.
Read pod status.
Get port range assigned by mesos.
GetServiceContainers get list of (service, container_id) pair by a list of services.
No description provided by the author
healthCheck includes health checking for primary container and exit code checking for other containers.
docker inspect.
No description provided by the author
No description provided by the author
Launch pod docker-compose up.
ListenOnTaskStatus listens.
No description provided by the author
No description provided by the author
get docker health check logs.
pull image docker-compose pull.
No description provided by the author
remove pod images docker-compose down --rmi.
remove pod volume docker-compose down -v.
Update mesos and pod status.
No description provided by the author
Set pod status.
No description provided by the author
StartStep start a step of dce, and add a new item into the values, key is the stepName In the map, key will be step, value will be each retry result, and duration.
Stop pod docker-compose stop.
TaskInfoInitPodStatusHooks finds the hooks (implementations of ExecutorHook interface) configured for executor phase and init them error is returned if any of the hooks failed, and ExecutorHook.BestEffort() returns true.
No description provided by the author
No description provided by the author
No description provided by the author
validate compose before image pull.
Wait for pod running/finished until timeout or failed.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LaunchCmdAttempted indicates that an attempt to run the command to launch the pod (docker compose up with params) was made.
No description provided by the author
No description provided by the author
store all docker-composed yaml file, key is filepath, value is the yaml unmarshelled object.
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author