All Projects → toqueteos → minietcd

toqueteos / minietcd

Licence: MIT license
☁️ Super small and "dumb" read-only client in Go for coreos/etcd (v2).

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects

Labels

Projects that are alternatives of or similar to minietcd

Etcdlabs
etcd playground
Stars: ✭ 143 (+1091.67%)
Mutual labels:  etcd
Go Flagz
Dynamic flag management for Go.
Stars: ✭ 191 (+1491.67%)
Mutual labels:  etcd
Constructr
Coordinated (etcd, ...) cluster construction for dynamic (cloud, containers) environments
Stars: ✭ 219 (+1725%)
Mutual labels:  etcd
Dotnet Etcd
A C# .NET (dotnet) GRPC client for etcd v3 +
Stars: ✭ 157 (+1208.33%)
Mutual labels:  etcd
Docker Compose
一些基础服务的docker-compose配置文件,方便在一台新电脑上快速开始工作
Stars: ✭ 163 (+1258.33%)
Mutual labels:  etcd
Remco
remco is a lightweight configuration management tool
Stars: ✭ 200 (+1566.67%)
Mutual labels:  etcd
Grpc Lb
Example for grpc-lb with etcd
Stars: ✭ 140 (+1066.67%)
Mutual labels:  etcd
Mgmt
Next generation distributed, event-driven, parallel config management!
Stars: ✭ 2,708 (+22466.67%)
Mutual labels:  etcd
Swarmstack
A Docker swarm-based starting point for operating highly-available containerized applications.
Stars: ✭ 181 (+1408.33%)
Mutual labels:  etcd
Skipper
An HTTP router and reverse proxy for service composition, including use cases like Kubernetes Ingress
Stars: ✭ 2,606 (+21616.67%)
Mutual labels:  etcd
Etcd Watcher
Etcd watcher for Casbin
Stars: ✭ 157 (+1208.33%)
Mutual labels:  etcd
Pifpaf
Python fixtures and daemon managing tools for functional testing
Stars: ✭ 161 (+1241.67%)
Mutual labels:  etcd
Source Code Reading Notes
源码阅读笔记
Stars: ✭ 207 (+1625%)
Mutual labels:  etcd
Etcd Cloud Operator
Deploying and managing production-grade etcd clusters on cloud providers: failure recovery, disaster recovery, backups and resizing.
Stars: ✭ 149 (+1141.67%)
Mutual labels:  etcd
Gosiris
An actor framework for Go
Stars: ✭ 222 (+1750%)
Mutual labels:  etcd
Go Oauth2 Server
A standalone, specification-compliant, OAuth2 server written in Golang.
Stars: ✭ 1,843 (+15258.33%)
Mutual labels:  etcd
Dcmp
基于etcd的配置管理系统 (etcd v2)
Stars: ✭ 200 (+1566.67%)
Mutual labels:  etcd
Etcdhcp
A DHCP server backed by etcd
Stars: ✭ 250 (+1983.33%)
Mutual labels:  etcd
Forest
分布式任务调度平台,分布式,任务调度,schedule,scheduler
Stars: ✭ 231 (+1825%)
Mutual labels:  etcd
Dbtester
Distributed database benchmark tester
Stars: ✭ 214 (+1683.33%)
Mutual labels:  etcd

minietcd Travis badge GoDoc

Super small and "dumb" read-only client for coreos/etcd.

Intented only for v2 protocol as of right now.

Rationale

One of the main points of Go was compiler speed.

Since Go v1.5 this is not true anymore.

Now, consider CoreOS team decision to move both etcd's client and server code into the same repository, things get even worse.

minietcd's use case is simple: get keys from etcd, do it simple, do it fast (in terms of compiling speed).

I know there's a lot of stuff this library doesn't cover but it's intentional.

Installation

Use: go get github.com/toqueteos/minietcd

Example

package main

import (
    "fmt"
    "log"
    "os"

    "github.com/toqueteos/minietcd"
)

const (
    Endpoint = "127.0.0.1:4001"
    Root     = "foo"
)

func main() {
    conn := minietcd.New()
    conn.SetLoggingOutput(os.Stderr) // optional, os.Stdout by default

    if err := conn.Dial(Endpoint); err != nil {
        log.Fatalf("failed to connect to endpoint %q, error %q\n", Endpoint, err)
    }

    keys, err := conn.Keys(Root)
    if err != nil {
        log.Fatalf("failed to get %q keys with error %q\n", Root, err)
    }

    for k, v := range keys {
        fmt.Println(k, v)
    }
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].