Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Packer = Packer {
- variables :: [UserVariable]
- builders :: [Builder]
- provisioners :: [Provisioner]
- postProcessors :: [PostProcessor]
- renderPacker :: Packer -> Text
- data UserVariable = UserVariable Text Text
- data Builder = Builder {}
- data BuilderType = AmazonEBSBuilder (AWS EBS)
- data Communicator
- = None
- | SSH SSHCommunicator
- | WinRm
- defaultSSHCommunicator :: Text -> SSHCommunicator
- data Provisioner = Provisioner {}
- provisioner :: ProvisionerType -> Provisioner
- data ProvisionerType
- data PostProcessor = PostProcessor
Core data types
Packer
A concrete representation for configuring the various components of Packer.
Packer | |
|
data UserVariable Source #
Instances
Eq UserVariable Source # | |
Defined in Kerry.Packer (==) :: UserVariable -> UserVariable -> Bool # (/=) :: UserVariable -> UserVariable -> Bool # | |
Ord UserVariable Source # | |
Defined in Kerry.Packer compare :: UserVariable -> UserVariable -> Ordering # (<) :: UserVariable -> UserVariable -> Bool # (<=) :: UserVariable -> UserVariable -> Bool # (>) :: UserVariable -> UserVariable -> Bool # (>=) :: UserVariable -> UserVariable -> Bool # max :: UserVariable -> UserVariable -> UserVariable # min :: UserVariable -> UserVariable -> UserVariable # | |
Show UserVariable Source # | |
Defined in Kerry.Packer showsPrec :: Int -> UserVariable -> ShowS # show :: UserVariable -> String # showList :: [UserVariable] -> ShowS # |
Builders
See the following for more information - https://www.packer.io/docs/templates/builders.html - https://www.packer.io/docs/builders/index.html
data BuilderType Source #
Concrete BuilderType
Instances
Eq BuilderType Source # | |
Defined in Kerry.Packer (==) :: BuilderType -> BuilderType -> Bool # (/=) :: BuilderType -> BuilderType -> Bool # | |
Ord BuilderType Source # | |
Defined in Kerry.Packer compare :: BuilderType -> BuilderType -> Ordering # (<) :: BuilderType -> BuilderType -> Bool # (<=) :: BuilderType -> BuilderType -> Bool # (>) :: BuilderType -> BuilderType -> Bool # (>=) :: BuilderType -> BuilderType -> Bool # max :: BuilderType -> BuilderType -> BuilderType # min :: BuilderType -> BuilderType -> BuilderType # | |
Show BuilderType Source # | |
Defined in Kerry.Packer showsPrec :: Int -> BuilderType -> ShowS # show :: BuilderType -> String # showList :: [BuilderType] -> ShowS # |
data Communicator Source #
Communicator
See the following for more information: - https://www.packer.io/docs/templates/communicator.html - https://www.packer.io/docs/provisioners/index.html
None | No communicator will be used. If this is set, most provisioners also can't be used. |
SSH SSHCommunicator | An SSH connection will be established to the machine. This is usually the default. |
WinRm | A WinRM connection will be established. |
Instances
Eq Communicator Source # | |
Defined in Kerry.Packer (==) :: Communicator -> Communicator -> Bool # (/=) :: Communicator -> Communicator -> Bool # | |
Ord Communicator Source # | |
Defined in Kerry.Packer compare :: Communicator -> Communicator -> Ordering # (<) :: Communicator -> Communicator -> Bool # (<=) :: Communicator -> Communicator -> Bool # (>) :: Communicator -> Communicator -> Bool # (>=) :: Communicator -> Communicator -> Bool # max :: Communicator -> Communicator -> Communicator # min :: Communicator -> Communicator -> Communicator # | |
Show Communicator Source # | |
Defined in Kerry.Packer showsPrec :: Int -> Communicator -> ShowS # show :: Communicator -> String # showList :: [Communicator] -> ShowS # |
defaultSSHCommunicator :: Text -> SSHCommunicator Source #
A minimal default ssh
communicator where only the username
needs to be specified
data Provisioner Source #
Provisioner
See the following for more information: - https://www.packer.io/docs/templates/provisioners.html - https://www.packer.io/docs/provisioners/index.html
Instances
Eq Provisioner Source # | |
Defined in Kerry.Packer (==) :: Provisioner -> Provisioner -> Bool # (/=) :: Provisioner -> Provisioner -> Bool # | |
Ord Provisioner Source # | |
Defined in Kerry.Packer compare :: Provisioner -> Provisioner -> Ordering # (<) :: Provisioner -> Provisioner -> Bool # (<=) :: Provisioner -> Provisioner -> Bool # (>) :: Provisioner -> Provisioner -> Bool # (>=) :: Provisioner -> Provisioner -> Bool # max :: Provisioner -> Provisioner -> Provisioner # min :: Provisioner -> Provisioner -> Provisioner # | |
Show Provisioner Source # | |
Defined in Kerry.Packer showsPrec :: Int -> Provisioner -> ShowS # show :: Provisioner -> String # showList :: [Provisioner] -> ShowS # |
provisioner :: ProvisionerType -> Provisioner Source #
Basic Provisioner
data ProvisionerType Source #
Concrete ProvisionerType
Instances
Eq ProvisionerType Source # | |
Defined in Kerry.Packer (==) :: ProvisionerType -> ProvisionerType -> Bool # (/=) :: ProvisionerType -> ProvisionerType -> Bool # | |
Ord ProvisionerType Source # | |
Defined in Kerry.Packer compare :: ProvisionerType -> ProvisionerType -> Ordering # (<) :: ProvisionerType -> ProvisionerType -> Bool # (<=) :: ProvisionerType -> ProvisionerType -> Bool # (>) :: ProvisionerType -> ProvisionerType -> Bool # (>=) :: ProvisionerType -> ProvisionerType -> Bool # max :: ProvisionerType -> ProvisionerType -> ProvisionerType # min :: ProvisionerType -> ProvisionerType -> ProvisionerType # | |
Show ProvisionerType Source # | |
Defined in Kerry.Packer showsPrec :: Int -> ProvisionerType -> ShowS # show :: ProvisionerType -> String # showList :: [ProvisionerType] -> ShowS # |
data PostProcessor Source #
Instances
Eq PostProcessor Source # | |
Defined in Kerry.Packer (==) :: PostProcessor -> PostProcessor -> Bool # (/=) :: PostProcessor -> PostProcessor -> Bool # | |
Ord PostProcessor Source # | |
Defined in Kerry.Packer compare :: PostProcessor -> PostProcessor -> Ordering # (<) :: PostProcessor -> PostProcessor -> Bool # (<=) :: PostProcessor -> PostProcessor -> Bool # (>) :: PostProcessor -> PostProcessor -> Bool # (>=) :: PostProcessor -> PostProcessor -> Bool # max :: PostProcessor -> PostProcessor -> PostProcessor # min :: PostProcessor -> PostProcessor -> PostProcessor # | |
Show PostProcessor Source # | |
Defined in Kerry.Packer showsPrec :: Int -> PostProcessor -> ShowS # show :: PostProcessor -> String # showList :: [PostProcessor] -> ShowS # |