mgmt – github.com/purpleidea/mgmt Directories

mgmt command

Package main provides the main entrypoint for using the `mgmt` software.

Directories

PathSynopsis
cliPackage cli handles all of the core command line parsing.
cli/utilPackage util has some CLI related utility code.
convergerPackage converger is a facility for reporting the converged state.
docsPackage docs provides a tool that generates documentation from the source.
docs/utilPackage util handles metadata for documentation generation.
enginePackage engine represents the implementation of the resource engine that runs the graph of resources in real-time.
engine/graphPackage graph contains the actual implementation of the resource graph engine that runs the graph of resources in real-time.
engine/graph/autoedge
engine/graph/autogroup
engine/localPackage local contains functions and interfaces that are shared between functions and resources.
engine/resourcesPackage resources contains the implementations of all the core resources.
engine/resources/packagekitPackage packagekit provides an interface to interact with packagekit.
engine/traitsPackage traits contains all the definitions and implementations of the core resource traits that are imported by all the resource implementations.
engine/utilPackage util contains utility functions that are specific to the resource engine.
entryPackage entry provides an API to kicking off the initial binary execution.
etcdPackage etcd implements the distributed key value store and fs integration.
etcd/chooser
etcd/client
etcd/client/resources
etcd/client/str
etcd/client/strmap
etcd/deployer
etcd/fsPackage fs implements a very simple and limited file system on top of etcd.
etcd/interfaces
etcd/schedulerPackage scheduler implements a distributed consensus scheduler with etcd.
etcd/sshPackage ssh transports etcd traffic over SSH to provide a special World API.
etcd/util
examples
examples/dhcp_client
examples/longpollThis is an example longpoll client.
examples/mockbmcThis is an example mock BMC server/device.
examples/tftp
examples/tls
firstbootPackage firstboot provides a service that runs scripts once on first boot.
gapiPackage gapi defines the interface that graph API generators must meet.
gapi/empty
integration
langPackage lang is the mcl language frontend that implements the reactive DSL that lets users model their desired state over time.
lang/astPackage ast contains the structs implementing and some utility functions for interacting with the abstract syntax tree for the mcl language.
lang/corePackage core contains core functions and other related facilities which are used in programs.
lang/core/convert
lang/core/datetime
lang/core/deploy
lang/core/embedded
lang/core/embedded/provisioner
lang/core/example
lang/core/example/nested
lang/core/fmt
lang/core/golang
lang/core/iter
lang/core/list
lang/core/local
lang/core/map
lang/core/math
lang/core/net
lang/core/os
lang/core/regexp
lang/core/strings
lang/core/sys
lang/core/test
lang/core/util
lang/core/value
lang/core/world
lang/downloadPackage download is used for downloading language modules from git.
lang/embeddedPackage embedded embeds mcl modules into the system import namespace.
lang/funcsPackage funcs provides a framework for functions that change over time.
lang/funcs/dagePackage dage implements a DAG function engine.
lang/funcs/factsPackage facts provides a framework for language values that change over time.
lang/funcs/funcgen
lang/funcs/funcgen/utilPackage util provides some functions to be imported by the generated file.
lang/funcs/multi
lang/funcs/operatorsPackage operators provides a helper library to load all of the built-in operators, which are actually just functions.
lang/funcs/refPackage ref implements reference counting for the graph API and function engine.
lang/funcs/simple
lang/funcs/structs
lang/funcs/txnPackage txn contains the implementation of the graph transaction system.
lang/funcs/varsPackage vars provides a framework for language vars.
lang/funcs/wrapped
lang/fuzz
lang/gapiPackage gapi is the Graph API implementation for the mcl language frontend.
lang/inputsPackage inputs contains the input parsing logic for how mcl module entrypoints are handled for the language.
lang/interfacesPackage interfaces contains the common interfaces used in the mcl language.
lang/interpolatePackage interpolate contains the string interpolation parser and associated structs and code.
lang/interpretPackage interpret contains the implementation of the actual interpret function that takes an AST and returns a resource graph.
lang/parserPackage parser contains the lexer and parser for the mcl language.
lang/typesPackage types provides a framework for our mcl language values and types.
lang/types/full
lang/unificationPackage unification contains the code related to type unification for the mcl language.
lang/unification/fastsolverPackage fastsolver implements very fast type unification.
lang/unification/solversPackage solvers is used to have a central place to import all solvers from.
lang/unification/utilPackage util contains some utility functions and algorithms which are useful for type unification.
lang/utilPackage util contains utility functions that are specific to the mcl language.
libPackage lib is the home for the mgmt core library.
miscThis 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.
pgpPackage pgp contains the code related to both code and host signing and encryption.
pgraphPackage pgraph represents the internal "pointer graph" that we use.
prometheusPackage prometheus provides functions that are useful to control and manage the built-in prometheus instance.
puppetPackage puppet provides the integration entrypoint for the puppet language.
puppet/langpuppetPackage langpuppet implements an integration entrypoint that combines lang and Puppet.
setupPackage setup provides some simple facilities to help bootstrap things.
test
test/shell
utilPackage util contains a collection of miscellaneous utility functions.
util/archPackage arch is for utilities that deal with cpu architectures.
util/deadline
util/disjointPackage 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.
util/distroPackage distro is for utilities that deal with os/distro things.
util/errwrapPackage errwrap contains some error helpers.
util/passwordPackage password has some utility functions for dealing with misc passwords.
util/pprofPackage pprof is a simple wrapper around the pprof utility code which we use.
util/recwatchPackage recwatch provides recursive file watching events via fsnotify.
util/safepathPackage safepath implements some types and methods for dealing with POSIX file paths safely.
util/semaphorePackage semaphore contains an implementation of a counting semaphore.
util/socketsetPackage socketset is in API for creating a select style netlink socket to receive events from the kernel.
yamlgraphPackage yamlgraph provides the facilities for loading a graph from a yaml file.
Version
v0.0.0-20250322185616-c50a578426f1 (latest)
Published
Mar 22, 2025
Platform
linux/amd64
Imports
15 packages
Last checked
2 days ago

Tools for package owners.