| Copyright | (c) 2017 Mateusz Kowalczyk |
|---|---|
| License | BSD3 |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Nix.JenkinsPlugins2Nix.Types
Description
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
Constructors
| Config | |
Fields
| |
Plugin meta-data.
Constructors
| Manifest | |
Fields
| |
All the information we need about the plugin to generate a nix expression.
Constructors
| Plugin | |
data PluginDependency Source #
A dependency on another plugin.
Constructors
| PluginDependency | |
Fields
| |
Instances
| Eq PluginDependency Source # | |
Defined in Nix.JenkinsPlugins2Nix.Types Methods (==) :: PluginDependency -> PluginDependency -> Bool # (/=) :: PluginDependency -> PluginDependency -> Bool # | |
| Ord PluginDependency Source # | |
Defined in Nix.JenkinsPlugins2Nix.Types Methods 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 Methods 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 Methods (==) :: PluginResolution -> PluginResolution -> Bool # (/=) :: PluginResolution -> PluginResolution -> Bool # | |
| Ord PluginResolution Source # | |
Defined in Nix.JenkinsPlugins2Nix.Types Methods 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 Methods showsPrec :: Int -> PluginResolution -> ShowS # show :: PluginResolution -> String # showList :: [PluginResolution] -> ShowS # | |
data RequestedPlugin Source #
Plugin that user requested on the command line.
Constructors
| RequestedPlugin | |
Fields
| |
Instances
| Eq RequestedPlugin Source # | |
Defined in Nix.JenkinsPlugins2Nix.Types Methods (==) :: RequestedPlugin -> RequestedPlugin -> Bool # (/=) :: RequestedPlugin -> RequestedPlugin -> Bool # | |
| Ord RequestedPlugin Source # | |
Defined in Nix.JenkinsPlugins2Nix.Types Methods 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 Methods showsPrec :: Int -> RequestedPlugin -> ShowS # show :: RequestedPlugin -> String # showList :: [RequestedPlugin] -> ShowS # | |
data ResolutionStrategy Source #
The way in which version of dependencies will be picked.
Constructors
| 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 Methods (==) :: ResolutionStrategy -> ResolutionStrategy -> Bool # (/=) :: ResolutionStrategy -> ResolutionStrategy -> Bool # | |
| Ord ResolutionStrategy Source # | |
Defined in Nix.JenkinsPlugins2Nix.Types Methods 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 Methods showsPrec :: Int -> ResolutionStrategy -> ShowS # show :: ResolutionStrategy -> String # showList :: [ResolutionStrategy] -> ShowS # | |