hercules-ci-api-agent-0.5.1.0: src/Hercules/Formats/Mountable.hs
{-# LANGUAGE DeriveAnyClass #-}
module Hercules.Formats.Mountable where
import qualified Data.Aeson as A
import Data.Text (Text)
import GHC.Generics (Generic)
import Hercules.Formats.Secret (Condition)
import Prelude (Bool, Eq, Show)
data Mountable = Mountable
{ -- | A path on the host.
source :: !Text,
readOnly :: !Bool,
condition :: !Condition
}
deriving (Generic, Show, Eq, A.ToJSON, A.FromJSON)