Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 938 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 938 Bytes

Kube-lock

GoDoc

Kube-lock is a simple Go library that implementation a distributed lock using annotations on a Kubernetes resource.

See examples folder for a simple example for both libraries.

Details

In this folder you'll find the basic lock functionality. This is abstracted using get and update functions.

In the k8s/ericchiang folder you'll find a Kubernetes specific implementation using the lightweight yet comprehensive ericchiang/k8s. It implements get & update functions for various resources.

In the k8s/yaklabs folder you'll find a Kubernetes specific implementation using the lightweight YakLabs/k8s-client. It implements get & update functions for various resources.