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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
Show PostProcessor Source # | |
Defined in Kerry.Packer showsPrec :: Int -> PostProcessor -> ShowS # show :: PostProcessor -> String # showList :: [PostProcessor] -> ShowS # |