Skip to content

nlamirault/timonier

Repository files navigation

Timonier

Coverage Status

Master :

  • MELPA Stable
  • Circle CI

Develop:

  • Melpa Status
  • Circle CI

timonier is an Emacs frontend for a [Kubernetes][] cluster.

Installation

The recommended way to install timonier is via MELPA:

M-x package-install timonier

or Cask:

(depends-on "timonier")

Usage

  • Setup the Kubernetes proxy endpoint:

      (setq timonier-k8s-proxy "http://localhost:8001")
    
  • Display the dashboard:

      M-x timonier-k8s
    
  • In the buffer:

Launch the timonier menu using the key : C-c C-k

Keybinding Description
g go to the news pod
h go to the previous pod
P describe current pod
k go to the next service
l go to the previous service
S describe the current service
i go to the next node
j go to the previous node
N describe the current service
q quit

Timonier

Development

Cask

timonier use Cask for dependencies management. Install it and retrieve dependencies :

$ curl -fsSkL https://raw.github.com/cask/cask/master/go | python
$ export PATH="$HOME/.cask/bin:$PATH"
$ cask

Testing

  • Launch unit tests from shell

    $ make clean test

  • Using overseer :

Keybinding Description
C-c , t launch unit tests from buffer
C-c , b launch unit tests
C-c , g launch unit tests with tag (backend, ...)
  • Tips:

If you want to launch a single unit test, add a specify tag :

(ert-deftest test-foobar ()
  :tags '(current)

And launch it using : C-c , g and specify tag : current

Support / Contribute

See here

Changelog

A changelog is available here.

License

See LICENSE.

Contact

Nicolas Lamirault [email protected]