Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Commits on Aug 10, 2012
  1. @dougm

    Process Control

    dougm authored
    Wrapper around Process structure to support:
    - dependency management
    - wait/timeout for Process start/stop/restart
    - toggling of monitor flags
    Change-Id: I641f6eee36ac1dd582d9522e971fdcc8d5a2ed5d
Commits on Aug 9, 2012
  1. @dougm

    Fold Daemon type into Process type

    dougm authored
    The initial pass of connecting ConfigManager / Process type to Daemon
    just added Daemon as an anonymous field in Process and removed dup
    fields.  However, yaml/json marshalling ignores anonymous fields.
    Don't need the two types anyhow, so this simplifies things in general.
    This change is a large diff, but for the most part is just a rename of
    Daemon to Process (for types and variables)
    Change-Id: I04e88e9bd3faf61bde1b6a4c9805e3eb679aca71
Commits on Aug 6, 2012
  1. @lisbakke

    Cache values and add settings parsing.

    lisbakke authored
    - Cache resource values so they are not pulled 2x in the same loop.
    - Make config manager parse a settings file.
    - Create unix socket setting.
    - Write more tests for configmanager.
    Change-Id: I342667b8c7c462173bb567fa3670b23507ef4949
Commits on Aug 2, 2012
  1. @dougm

    Embed Daemon type within Process type

    dougm authored
    This folds some duplication between the two types.
    Removed 'Stop', 'User' and 'Group' from config validation as
    they are optional.
    Make Daemon.credential private so it isn't exported when marshalled
    Change-Id: I6c637e00af0ad089257ac23635998ffe7555d449
  2. @lisbakke

    Merge "Some cleanup."

    lisbakke authored Gerrit Code Review committed
  3. @lisbakke

    Some cleanup.

    lisbakke authored
    - Made one instance of resourceManager that everyone should use.
    - Stopped passing interval to GetResource because that was stupid
    - Made ResourceHolders hold DataTimestamps so that all data entries have
    Change-Id: Ide68deee5f5ea4105b0880b8c3f0009cef4b2279
Commits on Aug 1, 2012
  1. @dougm

    Move shared funcs from _test.go to helper.go

    dougm authored
    Some _test.go files use funcs defined in other _test.go files.
    This was fine for 'go test', but not 'go test one_test.go'.
    And would also trip up emacs flymake mode.
    The change makes use of go's pseudo '_test' package name suffix,
    which avoids a cyclic dependency on the gonit package.
    In short, this change just moves some code to helper.go
    and exports a few symbols for access within '_test' package.
    Change-Id: I4447563dc5b331791948ce1f14f7a8ba438f4e05
Commits on Jul 26, 2012
  1. @lisbakke

    Configmanager, resourcemanager and eventmonitor.

    lisbakke authored
    The configmanager parses config files and provides functions to
    access the data.
    The resourcemanager polls resources and tracks them over time.
    The eventmonitor parses event rules, monitors their resource values,
    and triggers events when the rules are met.
    Change-Id: Ifc95f8f80d78df23c7f442eecfba07ad93110c68
Commits on Jul 20, 2012
  1. @dougm

    Stub API (RPC) impl

    dougm authored
    While RPC methods are only stubs, cli client implements functionality
    to map cli args to RPCs or in-process calls via reflection.
    Change-Id: I82d96c3bc1def74087bc4639dac29cfc63c32286
Commits on Jul 13, 2012
  1. @dougm

    Wrapper for RPC server configuration and lifecycle

    dougm authored
    Currently supporting json RPC over unix or tcp socket
    Change-Id: If0022e5e2d6a6982ccee548d7040a7175feaf49b
Commits on Jul 11, 2012
  1. @dougm

    Basic process lifecycle management

    dougm authored
    Change-Id: I06bc4c618d425991c3e74473fd9825321f7ac658
Commits on Jun 21, 2012
  1. @dougm

    Minor changes

    dougm authored
    - Add LICENCE, NOTICE, copyright
    - mv ./src/ ./gonit_test.go
    - Add a version and test
    Change-Id: Ia1ee9dcc023cc2ab8a9852dfee25fe1a3dd61699
Commits on May 23, 2012
  1. @lisbakke

    A test so we can get jenkins support working.

    lisbakke authored
    Change-Id: I3f46315ee3a918257d0521e9f3e32807e711f847
Something went wrong with that request. Please try again.