Directories ¶
Path | Synopsis |
---|---|
Package cli handles all of the core command line parsing.
|
Package cli handles all of the core command line parsing. |
util
Package util has some CLI related utility code.
|
Package util has some CLI related utility code. |
Package converger is a facility for reporting the converged state.
|
Package converger is a facility for reporting the converged state. |
Package docs provides a tool that generates documentation from the source.
|
Package docs provides a tool that generates documentation from the source. |
util
Package util handles metadata for documentation generation.
|
Package util handles metadata for documentation generation. |
Package engine represents the implementation of the resource engine that runs the graph of resources in real-time.
|
Package engine represents the implementation of the resource engine that runs the graph of resources in real-time. |
graph
Package graph contains the actual implementation of the resource graph engine that runs the graph of resources in real-time.
|
Package graph contains the actual implementation of the resource graph engine that runs the graph of resources in real-time. |
local
Package local contains functions and interfaces that are shared between functions and resources.
|
Package local contains functions and interfaces that are shared between functions and resources. |
resources
Package resources contains the implementations of all the core resources.
|
Package resources contains the implementations of all the core resources. |
resources/packagekit
Package packagekit provides an interface to interact with packagekit.
|
Package packagekit provides an interface to interact with packagekit. |
traits
Package traits contains all the definitions and implementations of the core resource traits that are imported by all the resource implementations.
|
Package traits contains all the definitions and implementations of the core resource traits that are imported by all the resource implementations. |
util
Package util contains utility functions that are specific to the resource engine.
|
Package util contains utility functions that are specific to the resource engine. |
Package entry provides an API to kicking off the initial binary execution.
|
Package entry provides an API to kicking off the initial binary execution. |
Package etcd implements the distributed key value store and fs integration.
|
Package etcd implements the distributed key value store and fs integration. |
fs
Package fs implements a very simple and limited file system on top of etcd.
|
Package fs implements a very simple and limited file system on top of etcd. |
scheduler
Package scheduler implements a distributed consensus scheduler with etcd.
|
Package scheduler implements a distributed consensus scheduler with etcd. |
examples
|
|
longpoll
This is an example longpoll client.
|
This is an example longpoll client. |
Package firstboot provides a service that runs scripts once on first boot.
|
Package firstboot provides a service that runs scripts once on first boot. |
Package gapi defines the interface that graph API generators must meet.
|
Package gapi defines the interface that graph API generators must meet. |
Package lang is the mcl language frontend that implements the reactive DSL that lets users model their desired state over time.
|
Package lang is the mcl language frontend that implements the reactive DSL that lets users model their desired state over time. |
ast
Package ast contains the structs implementing and some utility functions for interacting with the abstract syntax tree for the mcl language.
|
Package ast contains the structs implementing and some utility functions for interacting with the abstract syntax tree for the mcl language. |
core
Package core contains core functions and other related facilities which are used in programs.
|
Package core contains core functions and other related facilities which are used in programs. |
download
Package download is used for downloading language modules from git.
|
Package download is used for downloading language modules from git. |
embedded
Package embedded embeds mcl modules into the system import namespace.
|
Package embedded embeds mcl modules into the system import namespace. |
funcs
Package funcs provides a framework for functions that change over time.
|
Package funcs provides a framework for functions that change over time. |
funcs/dage
Package dage implements a DAG function engine.
|
Package dage implements a DAG function engine. |
funcs/facts
Package facts provides a framework for language values that change over time.
|
Package facts provides a framework for language values that change over time. |
funcs/funcgen/util
Package util provides some functions to be imported by the generated file.
|
Package util provides some functions to be imported by the generated file. |
funcs/operators
Package operators provides a helper library to load all of the built-in operators, which are actually just functions.
|
Package operators provides a helper library to load all of the built-in operators, which are actually just functions. |
funcs/ref
Package ref implements reference counting for the graph API and function engine.
|
Package ref implements reference counting for the graph API and function engine. |
funcs/txn
Package txn contains the implementation of the graph transaction system.
|
Package txn contains the implementation of the graph transaction system. |
funcs/vars
Package vars provides a framework for language vars.
|
Package vars provides a framework for language vars. |
gapi
Package gapi is the Graph API implementation for the mcl language frontend.
|
Package gapi is the Graph API implementation for the mcl language frontend. |
inputs
Package inputs contains the input parsing logic for how mcl module entrypoints are handled for the language.
|
Package inputs contains the input parsing logic for how mcl module entrypoints are handled for the language. |
interfaces
Package interfaces contains the common interfaces used in the mcl language.
|
Package interfaces contains the common interfaces used in the mcl language. |
interpolate
Package interpolate contains the string interpolation parser and associated structs and code.
|
Package interpolate contains the string interpolation parser and associated structs and code. |
interpret
Package interpret contains the implementation of the actual interpret function that takes an AST and returns a resource graph.
|
Package interpret contains the implementation of the actual interpret function that takes an AST and returns a resource graph. |
parser
Package parser contains the lexer and parser for the mcl language.
|
Package parser contains the lexer and parser for the mcl language. |
types
Package types provides a framework for our mcl language values and types.
|
Package types provides a framework for our mcl language values and types. |
unification
Package unification contains the code related to type unification for the mcl language.
|
Package unification contains the code related to type unification for the mcl language. |
unification/fastsolver
Package fastsolver implements very fast type unification.
|
Package fastsolver implements very fast type unification. |
unification/solvers
Package solvers is used to have a central place to import all solvers from.
|
Package solvers is used to have a central place to import all solvers from. |
unification/util
Package util contains some utility functions and algorithms which are useful for type unification.
|
Package util contains some utility functions and algorithms which are useful for type unification. |
util
Package util contains utility functions that are specific to the mcl language.
|
Package util contains utility functions that are specific to the mcl language. |
Package lib is the home for the mgmt core library.
|
Package lib is the home for the mgmt core library. |
This program works exactly like the `tee` program, if it was invoked with an implicit --ignore-interrupts argument, and if it also had an --ignore-quit argument.
|
This program works exactly like the `tee` program, if it was invoked with an implicit --ignore-interrupts argument, and if it also had an --ignore-quit argument. |
Package pgp contains the code related to both code and host signing and encryption.
|
Package pgp contains the code related to both code and host signing and encryption. |
Package pgraph represents the internal "pointer graph" that we use.
|
Package pgraph represents the internal "pointer graph" that we use. |
Package prometheus provides functions that are useful to control and manage the built-in prometheus instance.
|
Package prometheus provides functions that are useful to control and manage the built-in prometheus instance. |
Package puppet provides the integration entrypoint for the puppet language.
|
Package puppet provides the integration entrypoint for the puppet language. |
langpuppet
Package langpuppet implements an integration entrypoint that combines lang and Puppet.
|
Package langpuppet implements an integration entrypoint that combines lang and Puppet. |
Package setup provides some simple facilities to help bootstrap things.
|
Package setup provides some simple facilities to help bootstrap things. |
Package util contains a collection of miscellaneous utility functions.
|
Package util contains a collection of miscellaneous utility functions. |
arch
Package arch is for utilities that deal with cpu architectures.
|
Package arch is for utilities that deal with cpu architectures. |
disjoint
Package disjoint implements a "disjoint-set data structure", otherwise known as the "union–find data structure" which is commonly used for type unification, among other things.
|
Package disjoint implements a "disjoint-set data structure", otherwise known as the "union–find data structure" which is commonly used for type unification, among other things. |
distro
Package distro is for utilities that deal with os/distro things.
|
Package distro is for utilities that deal with os/distro things. |
errwrap
Package errwrap contains some error helpers.
|
Package errwrap contains some error helpers. |
password
Package password has some utility functions for dealing with misc passwords.
|
Package password has some utility functions for dealing with misc passwords. |
recwatch
Package recwatch provides recursive file watching events via fsnotify.
|
Package recwatch provides recursive file watching events via fsnotify. |
safepath
Package safepath implements some types and methods for dealing with POSIX file paths safely.
|
Package safepath implements some types and methods for dealing with POSIX file paths safely. |
semaphore
Package semaphore contains an implementation of a counting semaphore.
|
Package semaphore contains an implementation of a counting semaphore. |
socketset
Package socketset is in API for creating a select style netlink socket to receive events from the kernel.
|
Package socketset is in API for creating a select style netlink socket to receive events from the kernel. |
Package yamlgraph provides the facilities for loading a graph from a yaml file.
|
Package yamlgraph provides the facilities for loading a graph from a yaml file. |
Click to show internal directories.
Click to hide internal directories.