2015-01-19 19:09:03 +00:00
|
|
|
module Propellor.Types.CmdLine where
|
|
|
|
|
|
|
|
import Propellor.Types.OS
|
|
|
|
import Propellor.Types.PrivData
|
|
|
|
|
|
|
|
import System.Posix.Types
|
|
|
|
|
|
|
|
data CmdLine
|
|
|
|
= Run HostName
|
|
|
|
| Spin [HostName] (Maybe HostName)
|
|
|
|
| SimpleRun HostName
|
|
|
|
| Set PrivDataField Context
|
2015-06-29 20:40:01 +00:00
|
|
|
| Unset PrivDataField Context
|
2015-01-19 19:09:03 +00:00
|
|
|
| Dump PrivDataField Context
|
|
|
|
| Edit PrivDataField Context
|
|
|
|
| ListFields
|
|
|
|
| AddKey String
|
|
|
|
| Merge
|
|
|
|
| Serialized CmdLine
|
|
|
|
| Continue CmdLine
|
|
|
|
| Update (Maybe HostName)
|
|
|
|
| Relay HostName
|
|
|
|
| DockerInit HostName
|
|
|
|
| DockerChain HostName String
|
|
|
|
| ChrootChain HostName FilePath Bool Bool
|
|
|
|
| GitPush Fd Fd
|
2015-04-02 14:20:44 +00:00
|
|
|
| Check
|
2015-01-19 19:09:03 +00:00
|
|
|
deriving (Read, Show, Eq)
|
|
|
|
|