handler

package
v0.0.0-...-01a130c Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2016 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Handler provides various state hanlders for our controlled compose run

Handler provides various state hanlders for our controlled compose run

Handler provides various state hanlders for our controlled compose run

Handler provides various state hanlders for our controlled compose run

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exit

func Exit(client client.APIClient, container_events <-chan events.ContainerEvent, container_status chan<- types.ContainerStatus, exit_codes *types.ExitCodes, done <-chan struct{})

Exit will handle the case where a container exits for whatever reason.

func FileMonitor

func FileMonitor(filename string, monitors []types.FileMonitor, container_status chan<- types.ContainerStatus, done <-chan struct{})

FileMonitor handles state conditions that result from content written to files

func Output

func Output(client client.APIClient, container_name string, stdout bool, stderr bool, monitors []types.FileMonitor, container_status chan<- types.ContainerStatus, done <-chan struct{})

Output will handle state conditions based on STDOUT or STDERR content

func Timeout

func Timeout(timeout *types.Timeout, timeout_triggered chan<- types.ContainerStatus, done <-chan struct{})

Timeout will handle timeout state conditions

Types

This section is empty.

Jump to

Keyboard shortcuts

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