James Shubin 837388ae4e lang: types, funcs: Add simple function API
This patch adds a simple function API for writing simple, pure
functions. This should reduce the amount of boilerplate required for
most functions, and make growing a stdlib significantly easier. If you
need to build more complex, event-generating functions, or statically
polymorphic functions, then you'll still need to use the normal API for
now.

This also makes all of these pure functions available automatically
within templates. It might make sense to group these functions into
packages to make their logical organization easier, but this is a good
enough start for now.

Lastly, this added some missing pieces to our types library. You can now
use `ValueOf` to convert from a `reflect.Value` to the corresponding
`Value` in our type system, if an equivalent exists.

Unfortunately, we're severely lacking in tests for these new types
library additions, but look forward to growing some in the future!
2018-02-21 21:32:31 -05:00
2016-09-18 05:47:33 -04:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-02-18 17:31:45 -05:00
2017-09-04 22:08:59 +02:00
2016-05-21 11:08:14 +02:00
2018-02-14 12:37:49 -05:00
2017-09-11 18:07:47 -04:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-02-15 12:24:56 -05:00
2016-01-04 21:00:13 -05:00
2015-09-25 01:16:03 -04:00
2018-02-15 17:21:49 +01:00
2015-09-25 01:16:03 -04:00
2017-09-11 18:07:47 -04:00
2018-02-15 17:21:49 +01:00
2017-09-01 22:21:39 +02:00

mgmt: next generation config management!

mgmt!

Go Report Card Build Status GoDoc IRC Jenkins

Community:

Come join us in the mgmt community!

Medium Link
IRC #mgmtconfig on Freenode
Twitter @mgmtconfig & #mgmtconfig
Mailing list mgmtconfig-list@redhat.com

Status:

Mgmt is a next generation automation tool. It has similarities to other tools in the configuration management space, but has a fast, modern, distributed systems approach. The project contains an engine and a language. Please have a look at an introductory video or blog post.

Mgmt is a fairly new project. It is usable today, but not yet feature complete. With your help you'll be able to influence our design and get us to 1.0 sooner! Interested developers should read the quick start guide.

Documentation:

Please read, enjoy and help improve our documentation!

Documentation Additional Notes
general documentation for everyone
quick start guide for mgmt developers
frequently asked questions for everyone
resource guide for mgmt developers
language guide for everyone
style guide for mgmt developers
godoc API reference for mgmt developers
prometheus guide for everyone
puppet guide for puppet sysadmins
development for mgmt developers

Questions:

Please ask in the community! If you have a well phrased question that might benefit others, consider asking it by sending a patch to the FAQ section. I'll merge your question, and a patch with the answer!

Roadmap:

Feel free to grab one of the straightforward #mgmtlove issues if you're a first time contributor to the project or if you're unsure about what to hack on! Please see: TODO.md for a list of upcoming work and TODO items. Please get involved by working on one of these items or by suggesting something else!

Bugs:

Please set the DEBUG constant in main.go to true, and post the logs when you report the issue. Bonus points if you provide a shell or OMV reproducible test case. Feel free to read my article on debugging golang programs.

Patches:

We'd love to have your patches! Please send them by email, or as a pull request.

On the web:

Read what people are saying and publishing about mgmt!

Happy hacking!

Description
No description provided
Readme 12 MiB
Languages
Go 95%
Shell 2.3%
Yacc 0.9%
Makefile 0.8%
JavaScript 0.4%
Other 0.6%