cZnT      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSSafeOT TUVWXYZ[\ TUVWXYZ[\ TUVWXYZ[\\1None9;<=] lens^ lens_ lens` lensa lensb lensc lens d lens e f g hi lensj lensk lenslm lensn lenso lens     Safe%&,/09:;DOT ?s know how to append the "api/$format" string to the method URLResponse formats Method types#Jenkins RESTFul API method encodingpRender , to something that can be sent over the wireqRender the method pathrRender the query strings!Render the response format stringt%Render unicode text as a query stringrenderT "foo-bar-baz" "foo-bar-baz"renderT "foo bar baz""foo%20bar%20baz"renderT ""  "Y"%D0%94%D0%9C%D0%98%D0%A2%D0%A0%D0%98%D0%99%20%D0%9C%D0%90%D0%9B%D0%98%D0%9A%D0%9E%D0%92"uInsert "/" between two v(-like things and concatenate everything.wInsert v-like thing between two v(-like things and concatenate everything."foo" `slash` "bar" "foo/bar""foo" `slash` """foo"x Only to support numeric literals"yz{|}~pqrstuwxyz{|}~pqrstuwyz{|}~pqrstuwx57513Safe,OTUse a string as an URI segmentpp (text "foo")"foo"Note: with -XOverloadedStringsb extension enabled it's possible to use string literals as segments of the Jenkins API method URL pp' "foo""foo"Note: don't put /< in the string literal unless you want it URL-encoded, use (-/-) instead pp' "foo/bar" "foo%2Fbar" Use an integer as an URI segment pp (int 4)"4" Combine two pathspp ("foo" -/- "bar" -/- "baz") "foo/bar/baz"!Make a key-value pairpp ("foo" -=- "bar") "foo=bar""Create the union of two queriespp ("foo" -=- "bar" -&- "baz") "foo=bar&baz"#9Take a list of key-value pairs and render them as a queryEpp (query [("foo", Nothing), ("bar", Just "baz"), ("quux", Nothing)])"foo&bar=baz&quux" pp (query [])""$Put path and query together3pp ("qux" -/- "quux" -?- "foo" -=- "bar" -&- "baz")"qux/quux?foo=bar&baz"pp ("" -?- "foo" -=- "bar") "foo=bar"pp ("/" -?- "foo" -=- "bar") "%2F?foo=bar"%4Append the JSON formatting request to the method URLformat json "foo""foo/api/json"&3Append the XML formatting request to the method URLformat xml "foo" "foo/api/xml"'6Append the Python formatting request to the method URLformat python "foo""foo/api/python"('The formatter that does exactly nothingformat plain "foo""foo")Job dataformat json (job "name")"job/name/api/json" pp (job "name" -/- "config.xml")"job/name/config.xml"*Job build dataformat json (build "name" 4)"job/name/4/api/json"+ View dataformat xml (view "name")"view/name/api/xml",Build queue dataformat python queue"queue/api/python"-Server statisticsformat xml overallLoad"overallLoad/api/xml". Nodes dataformat python computer"computer/api/python" !"#$%&'()*+,-. !"#$%&'()*+,-. !"#$%&'()*+,-. !"#$%&'()*+,-. 5!7"5$1None%&,029:;<=DOT/YThe kind of exceptions that can be thrown by performing requests to the Jenkins REST API1CThe value of this type describes Jenkins REST API requests sequenceLift  to 1Interpret the  AST in Tear down the  AST with a -algebra AST interpreter,/01/01!/01None,0:OT[2-Jenkins master node connection settings token4 Jenkins URL5 Jenkins user6"Jenkins user API token or password7%A handy type synonym for the kind of 1 actions that's used the most8Run a 1 actionIf a /0 is thrown by performing a request to Jenkins,  runJenkins will catch and wrap it in  Exception5. Other exceptions will propagate further untouched.9 Perform a GET requestWhile the return type is lazy  BytestringO, the entire response sits in memory anyway: lazy I/O is not used at the least:Perform a streaming GET request: , unlike 9, is constant-space; Perform a POST request< Perform a POST request without a payload=A simple exception handler. If an exception is raised while the action is executed the handler is executed with it as an argument>A simpler exception handler orElse_ a b = = a (\_ -> b) ? locally f x modifies the base Request with f for the execution of x (think  )RThis is useful for setting the appropriate headers, response timeouts and the like@Run two actions concurrentlyARMap every list element to an action, run them concurrently and collect the results A :   :: @ :   (,)BRMap every list element to an action and run them concurrently ignoring the results B :  :: @ :   (,)C Perform a POST) request to Jenkins with the XML documentSets up the correct  Content-Type$ header. Mostly useful for updating  config.xml files for jobs, views, etcD Perform a POST request to  /scriptTextE&Reload jenkins configuration from disk Performs /reloadFRestart jenkins safely Performs  /safeRestart /safeRestart$ allows all running jobs to completeGRestart jenkins Performs /restart/restarte restart Jenkins immediately, without waiting for the completion of the building and/or waiting jobs23456789:;<=>?@ABCDGroovy source codeEFG5 !"#$%&'()*+,-./0123546789:;<=>?@ABCDEFG817234569:;<=>?@ABCDEFG/023456789:;<=>?@ABCDEFGNoneKJenkins informationQDiscover Jenkins on the network$Parse Jenkins discovery response XMLKLMNOPQtimeoutKLMONPQKLMNOPQ KLMNOPQ !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFFGHIJKLMNOPQRS TUVWXYZ[\\]G^_`abcde?fghi !"#$%&'(jklmnopqrs)tuvwxyz{|}~ES'libjenkins-0.8.4-IYZ5MnsSkzC6EvEnGBJsEo Jenkins.RestNetwork.HTTP.Client.LensJenkins.Rest.MethodJenkins.Discover!Network.HTTP.Client.Lens.InternalJenkins.Rest.Method.InternalJenkins.Rest.InternalControl.Monad.Trans.ReaderlocalData.TraversabletraverseControl.ApplicativeliftA2 Data.Foldable traverse_baseControl.Monad.IO.ClassliftIO(http-client-0.5.6-9GMC6WgfG7D3BkBUVrfrZmNetwork.HTTP.Client.TypesRequestmethodsecurehostportpath queryStringrequestHeaders requestBodyproxy hostAddressrawBody decompress redirectCount checkResponseresponseTimeout cookieJarrequestVersiononRequestBodyExceptionrequestManagerOverride FormatterFormatJsonXmlPythonTypeQueryCompleteMethodtextint-/--=--&-query-?-jsonxmlpythonplainjobbuildviewqueue overallLoadcomputerJenkinsExceptionJenkinsHttpExceptionJenkinsTMasterurluserapiTokenJenkinsrungetstreampostpost_orElseorElse_locally concurrentlypostXmlgroovyreloadrestart forceRestart $fShowMaster $fEqMaster $fDataMasterDiscoverversionserverIddiscover$fShowDiscover $fEqDiscoverLens'LensPrism'Prismprismprism' exception<&>renderrenderPrenderQrenderFrenderTslashGHC.BaseStringinsert $fNumMethod unFormatterSFormatSJsonSXmlSPythonEmptyText:/:=:&:?:@formatrenderQ'$fIsStringMethod$fIsStringMethod0liftJJF iterInterpTInterpTiter interpreter runInterpTGetStreamPostConcOrWith unJenkinsT runInternal oneshotReq streamReqintoM prepareGet preparePost wrapException withAsyncwaitBothmaskcatch$fMonadTransInterpT$fMonadInterpT$fApplicativeInterpT$fExceptionJenkinsException $fFunctorJF$fMonadErroreJenkinsT$fMonadStatesJenkinsT$fMonadWriterwJenkinsT$fMonadReaderrJenkinsT$fMonadJenkinsT$fApplicativeJenkinsT$fMonadTransJenkinsT$fMonadIOJenkinsTtryparseXmlbroadcastSocket readAnswerfromMapparsertagstag