Copyright | (c) 2017 Mateusz Kowalczyk |
---|---|
License | BSD3 |
Safe Haskell | None |
Language | Haskell2010 |
Types used through-out jenkinsPlugins2nix
Synopsis
- data Config = Config {}
- data Manifest = Manifest {
- manifest_version :: !Text
- archiver_version :: !(Maybe Text)
- created_by :: !(Maybe Text)
- built_by :: !(Maybe Text)
- build_jdk :: !(Maybe Text)
- extension_name :: !(Maybe Text)
- specification_title :: !(Maybe Text)
- implementation_title :: !(Maybe Text)
- implementation_version :: !(Maybe Text)
- group_id :: !(Maybe Text)
- short_name :: !Text
- long_name :: !Text
- url :: !(Maybe Text)
- plugin_version :: !Text
- hudson_version :: !(Maybe Text)
- jenkins_version :: !(Maybe Text)
- plugin_dependencies :: !(Set PluginDependency)
- plugin_developers :: !(Set Text)
- data Plugin = Plugin {}
- data PluginDependency = PluginDependency {}
- data PluginResolution
- data RequestedPlugin = RequestedPlugin {
- requested_name :: !Text
- requested_version :: !(Maybe Text)
- data ResolutionStrategy
Documentation
Program configuration
Config | |
|
Plugin meta-data.
Manifest | |
|
All the information we need about the plugin to generate a nix expression.
data PluginDependency Source #
A dependency on another plugin.
PluginDependency | |
|
Instances
Eq PluginDependency Source # | |
Defined in Nix.JenkinsPlugins2Nix.Types (==) :: PluginDependency -> PluginDependency -> Bool # (/=) :: PluginDependency -> PluginDependency -> Bool # | |
Ord PluginDependency Source # | |
Defined in Nix.JenkinsPlugins2Nix.Types compare :: PluginDependency -> PluginDependency -> Ordering # (<) :: PluginDependency -> PluginDependency -> Bool # (<=) :: PluginDependency -> PluginDependency -> Bool # (>) :: PluginDependency -> PluginDependency -> Bool # (>=) :: PluginDependency -> PluginDependency -> Bool # max :: PluginDependency -> PluginDependency -> PluginDependency # min :: PluginDependency -> PluginDependency -> PluginDependency # | |
Show PluginDependency Source # | |
Defined in Nix.JenkinsPlugins2Nix.Types showsPrec :: Int -> PluginDependency -> ShowS # show :: PluginDependency -> String # showList :: [PluginDependency] -> ShowS # |
data PluginResolution Source #
Plugin resolution. Determines optional plugins.
Instances
Eq PluginResolution Source # | |
Defined in Nix.JenkinsPlugins2Nix.Types (==) :: PluginResolution -> PluginResolution -> Bool # (/=) :: PluginResolution -> PluginResolution -> Bool # | |
Ord PluginResolution Source # | |
Defined in Nix.JenkinsPlugins2Nix.Types compare :: PluginResolution -> PluginResolution -> Ordering # (<) :: PluginResolution -> PluginResolution -> Bool # (<=) :: PluginResolution -> PluginResolution -> Bool # (>) :: PluginResolution -> PluginResolution -> Bool # (>=) :: PluginResolution -> PluginResolution -> Bool # max :: PluginResolution -> PluginResolution -> PluginResolution # min :: PluginResolution -> PluginResolution -> PluginResolution # | |
Show PluginResolution Source # | |
Defined in Nix.JenkinsPlugins2Nix.Types showsPrec :: Int -> PluginResolution -> ShowS # show :: PluginResolution -> String # showList :: [PluginResolution] -> ShowS # |
data RequestedPlugin Source #
Plugin that user requested on the command line.
RequestedPlugin | |
|
Instances
Eq RequestedPlugin Source # | |
Defined in Nix.JenkinsPlugins2Nix.Types (==) :: RequestedPlugin -> RequestedPlugin -> Bool # (/=) :: RequestedPlugin -> RequestedPlugin -> Bool # | |
Ord RequestedPlugin Source # | |
Defined in Nix.JenkinsPlugins2Nix.Types compare :: RequestedPlugin -> RequestedPlugin -> Ordering # (<) :: RequestedPlugin -> RequestedPlugin -> Bool # (<=) :: RequestedPlugin -> RequestedPlugin -> Bool # (>) :: RequestedPlugin -> RequestedPlugin -> Bool # (>=) :: RequestedPlugin -> RequestedPlugin -> Bool # max :: RequestedPlugin -> RequestedPlugin -> RequestedPlugin # min :: RequestedPlugin -> RequestedPlugin -> RequestedPlugin # | |
Show RequestedPlugin Source # | |
Defined in Nix.JenkinsPlugins2Nix.Types showsPrec :: Int -> RequestedPlugin -> ShowS # show :: RequestedPlugin -> String # showList :: [RequestedPlugin] -> ShowS # |
data ResolutionStrategy Source #
The way in which version of dependencies will be picked.
AsGiven | Pick the version of the dependency that the package tells us about in its manifest file. If none, latest version available is used. |
Latest | Always pick latest version of the dependency we're told about. |
Instances
Eq ResolutionStrategy Source # | |
Defined in Nix.JenkinsPlugins2Nix.Types (==) :: ResolutionStrategy -> ResolutionStrategy -> Bool # (/=) :: ResolutionStrategy -> ResolutionStrategy -> Bool # | |
Ord ResolutionStrategy Source # | |
Defined in Nix.JenkinsPlugins2Nix.Types compare :: ResolutionStrategy -> ResolutionStrategy -> Ordering # (<) :: ResolutionStrategy -> ResolutionStrategy -> Bool # (<=) :: ResolutionStrategy -> ResolutionStrategy -> Bool # (>) :: ResolutionStrategy -> ResolutionStrategy -> Bool # (>=) :: ResolutionStrategy -> ResolutionStrategy -> Bool # max :: ResolutionStrategy -> ResolutionStrategy -> ResolutionStrategy # min :: ResolutionStrategy -> ResolutionStrategy -> ResolutionStrategy # | |
Show ResolutionStrategy Source # | |
Defined in Nix.JenkinsPlugins2Nix.Types showsPrec :: Int -> ResolutionStrategy -> ShowS # show :: ResolutionStrategy -> String # showList :: [ResolutionStrategy] -> ShowS # |