Safe Haskell | None |
---|---|
Language | Haskell2010 |
Kerry
Contents
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.
Constructors
Packer | |
Fields
|
data UserVariable Source #
Constructors
UserVariable Text Text |
Instances
Eq UserVariable Source # | |
Defined in Kerry.Packer | |
Show UserVariable Source # | |
Defined in Kerry.Packer Methods 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
Constructors
Builder | |
Fields |
data BuilderType Source #
Concrete BuilderType
Constructors
AmazonEBSBuilder (AWS EBS) |
Instances
Eq BuilderType Source # | |
Defined in Kerry.Packer | |
Show BuilderType Source # | |
Defined in Kerry.Packer Methods 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
Constructors
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 | |
Show Communicator Source # | |
Defined in Kerry.Packer Methods 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
Constructors
Provisioner | |
Fields
|
Instances
Eq Provisioner Source # | |
Defined in Kerry.Packer | |
Show Provisioner Source # | |
Defined in Kerry.Packer Methods showsPrec :: Int -> Provisioner -> ShowS # show :: Provisioner -> String # showList :: [Provisioner] -> ShowS # |
provisioner :: ProvisionerType -> Provisioner Source #
Basic Provisioner
data ProvisionerType Source #
Concrete ProvisionerType
Constructors
ShellProvisioner Shell | |
FileProvisioner File |
Instances
Eq ProvisionerType Source # | |
Defined in Kerry.Packer Methods (==) :: ProvisionerType -> ProvisionerType -> Bool # (/=) :: ProvisionerType -> ProvisionerType -> Bool # | |
Show ProvisionerType Source # | |
Defined in Kerry.Packer Methods showsPrec :: Int -> ProvisionerType -> ShowS # show :: ProvisionerType -> String # showList :: [ProvisionerType] -> ShowS # |
data PostProcessor Source #
Constructors
PostProcessor |
Instances
Eq PostProcessor Source # | |
Defined in Kerry.Packer Methods (==) :: PostProcessor -> PostProcessor -> Bool # (/=) :: PostProcessor -> PostProcessor -> Bool # | |
Show PostProcessor Source # | |
Defined in Kerry.Packer Methods showsPrec :: Int -> PostProcessor -> ShowS # show :: PostProcessor -> String # showList :: [PostProcessor] -> ShowS # |