mistifyio / lochness Goto Github PK
View Code? Open in Web Editor NEWSimple Hypervisor Orchestration
Simple Hypervisor Orchestration
This is definitely a candidate to use steve's work with robot framework. I'm thinking a new card to port to robot after this is merged.
commit | file reference | pull request | |
---|---|---|---|
7eeb18c | cmd/dobharchu/integrationtest/main.go#L1 | #73 |
we shoehorned service definition / health check into the $hvid/heartbeat
key since etcd doesn't not have a notion of service, but consul does.
It would be a good idea to look into converting heartbeat into an actual service with health check, implemented in etcd and consul, it'll probably come in handy with other services later.
commit | file reference | pull request | |
---|---|---|---|
7eeb18c | cmd/dobharchu/integrationtest/main.go#L45 | #73 |
See other tests where I believe we are just doing etcd.Delete("/lochness", true")
commit | file reference | pull request | |
---|---|---|---|
7eeb18c | cmd/dobharchu/testhelper/testhelper.go#L117 | #73 |
In order to come up to a known state you should always force the first update thereby removing the need for the flag.
commit | file reference | pull request | |
---|---|---|---|
7eeb18c | cmd/dobharchu/main.go#L109 | #73 |
use FileInfo.Stat
(I think thats correct func)
commit | file reference | pull request | |
---|---|---|---|
7eeb18c | cmd/dobharchu/integrationtest/main.go#L77 | #73 |
should be struct {}
commit | file reference | |
---|---|---|
0a1760c | pkg/queue/q.go#L21 |
This is going to make automated testing an unnecessary pain, just try the to use the service and fail if it doesn't work.
commit | file reference | pull request | |
---|---|---|---|
7eeb18c | cmd/dobharchu/integrationtest/main.go#L48 | #73 |
Its only going to be used by dobarchu and there is effectively no api-separation dobarchu knows everthing about refresher so just keep it in dobarchu
commit | file reference | pull request | |
---|---|---|---|
7eeb18c | cmd/dobharchu/refresher/refresher.go#L1 | #73 |
To https://github.com/coreos/etcd/tree/master/client
Big change is use of context.Context. Probably should wait until context.Context is brought into std lib, go1.7 I think.
Swap out etcd for consul in lochness.
#133 add consul implementation of pkg/kv/kv and switch to it
I don't normally like test-only stuff. In this case we are going to fail pretty soon any way when in test mode, so this just adds clutter.
commit | file reference | pull request | |
---|---|---|---|
7eeb18c | cmd/dobharchu/main.go#L97 | #73 |
You should be able to keep a cache of hypervisor/guests ips and just update that and avoid quadratic code (just saw this today so its fresh http://accidentallyquadratic.tumblr.com/)
commit | file reference | pull request | |
---|---|---|---|
7eeb18c | cmd/dobharchu/main.go#L148 | #73 |
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.