micro/runtime
Janos Dobronszki 2cafa289b6
Stop LogStream if there is an error in k8s pod log streaming (#1469)
* Stop LogStream if there is an error in k8s pod log streaming

* Locking stream Stops

* PR comment
2020-04-02 12:16:35 +01:00
..
kubernetes Stop LogStream if there is an error in k8s pod log streaming (#1469) 2020-04-02 12:16:35 +01:00
local minimize allocations in logger and tunnel code (#1323) 2020-03-11 17:55:39 +00:00
service Stop LogStream if there is an error in k8s pod log streaming (#1469) 2020-04-02 12:16:35 +01:00
default.go Stop LogStream if there is an error in k8s pod log streaming (#1469) 2020-04-02 12:16:35 +01:00
options.go Runtime logs (#1447) 2020-04-01 15:40:15 +02:00
README.md Add runtime => run 2019-05-31 00:26:34 +01:00
runtime.go log.Errorf when pod streaming fails (#1463) 2020-04-01 23:03:26 +01:00
service.go Add type of service (#1385) 2020-03-20 12:48:12 +00:00

Runtime

A runtime for self governing services.

Overview

In recent years we've started to develop complex architectures for the pipeline between writing code and running it. This philosophy of build, run, manage or however many variations, has created a number of layers of abstraction that make it all the more difficult to run code.

Runtime manages the lifecycle of a service from source to running process. If the source is the source of truth then everything in between running is wasted breath. Applications should be self governing and self sustaining. To enable that we need libraries which make it possible.

Runtime will fetch source code, build a binary and execute it. Any Go program that uses this library should be able to run dependencies or itself with ease, with the ability to update itself as the source is updated.

Features

  • Source - Fetches source whether it be git, go, docker, etc
  • Package - Compiles the source into a binary which can be executed
  • Process - Executes a binary and creates a running process

Usage

TODO