configurator

command module
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2014 License: MIT Imports: 19 Imported by: 0

README

{ "$for": "@service", "in": {"$services": "*"}, "loop": ["upstream", {"@service": null}], "else": ["noupstream"] }

{ "$if": { "$eq": [ {"$environ": "FOOBAR"}, "foobar" ] }, "then": "Blah", "else": "Other" } {"$environ": "FOOBAR"} {"$service": "myapp", ".": "Port"} {"$ref": "#foo/bar"} {"$set": ["@foo", "value"]}

remote: config store change notification (config or reference value) local: http mutation, config store pull

any change should be validated before commit (going out) or apply (coming in)

incoming(remote mutation): copy, validate(change, render), replace, apply outgoing(local mutation): copy, pull(copy, change, render), validate, commit(write, [pull, validate, write, ...])

any change should go through render before apply keep around last rendered

TODO

  • full macro list
  • macro http interface
  • status of last validate for each watched key
  • use tigertonic?
  • encryption?
  • virtual grouping
  • layers

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL