Граф коммитов

13 Коммитов

Автор SHA1 Сообщение Дата
Tristan Weir 8c24601740 Update import statements to point to github.com/mozilla/mig/ 2018-07-11 10:11:22 -07:00
Aaron Meihm 034de6f3da style related code cleanup in mig top-level package
Fix a bunch of godoc issues, removes exchange and queue names which were
no longer being utilized, and the GenB32ID function which was also not
being used. Renames some constant values to remove mixture of all caps
and underscores in constants.
2017-10-26 15:55:48 -05:00
Aaron Meihm 4108b2ab9e in mig.Agent, declare Tags as a map for Agent type
In 4cd3867, agent tags were converted to a map[string]string from an
interface to make the structure more easily modified from configuration
files.

Fix up the Agent type here so the tags are defined correctly.
2017-07-25 13:51:39 -05:00
Aaron Meihm 5f631db035 [minor] scheduler option to log summary of each agent actions/commands
Optionally create a summarized log entry for each command dispatched to
an agent by the scheduler. Currently this log entry just includes the
agent name, the loader name (if it is associated with a loader
instance), and the action name.
2017-02-07 16:18:35 -06:00
Aaron Meihm bbd4b8d2e4 [minor] remove upgrade module and additional references to module 2016-12-21 15:08:49 -06:00
Tony Cai fd09bc4159 [Minor] List of agent's enabled modules added to heartbeat according to issue #229 2016-12-14 15:30:38 -08:00
Aaron Meihm a84474ad9e [medium] introduce periodic agent environment refresh
It's possible over the course of the process lifetime on a workstation
that address or other environment information can change. This adds
support for periodic refreshes of current environment information from
the system.

This commit also requires modifying the way we pass the Context around
the agent, from a copy to using a pointer so the changes made in the
refresh routine are visible.

Closes #205
2016-04-18 23:04:50 -05:00
Aaron Meihm e4a12050c8 [minor] remove aws component from env struct members 2015-12-30 09:36:37 -06:00
Aaron Meihm c012a58fb5 [minor] store AWS agent environment in separate struct 2015-12-30 09:36:37 -06:00
Aaron Meihm f893afd6e0 [medium] Support fetch of instance meta-data for agents running in AWS 2015-12-30 09:36:37 -06:00
Julien Vehent 200a5a6164 [doc] add newline after license header to ignore it in godoc 2015-08-27 10:41:13 -04:00
Julien Vehent 91928a9fcd [minor] add import comment to packages declarations 2015-08-26 14:15:40 -04:00
Julien Vehent e9aa7febf9 [major] reorganize repository structure for `go get mig.ninja/mig`
This is a major change to the structure of the repository and the Makefile,
but a minor change in terms of functionalities. It simply changes the structure
of the directories to be compliant with Go's idiomatic build methods.

I also bought the domain `mig.ninja` and will now be using that as
a standard import path for everything. The magic to serve everything
under mig.ninja/mig will be documented elsewhere.
2015-08-25 18:01:22 -04:00