flockman

command module
v0.0.0-...-722c4aa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

README

About Flockman

Flockman is tool designed to help DevOps with a simple tool to rollout updates to a swarm cluster using basic rest APIs. some of its features are:

  • Secure and Simple
  • written in GO
  • small packaged binary for starting server and also a cli tool for management purposes

Learning Flockman

best way to start with Flockman is to download the latest binary and start using its cli and figuring out its capabilities yourself.

api documentation

get node details
GET `/api/v1/node`
{
  "node_name":"erfan-zenbook-ux325ea"
}
get service status
POST `/api/v1/service/status`

{
    "token":"TOKEN"
}
{
    "image":"nginx:latest","service":"nginx"
}
update service status
POST `/api/v1/service/update`

{
    "token":"TOKEN",
    "tag":"alpine",
    "start_first":true,
    "stop_signal":"QUIT"
}
{
    "image":"nginx:alpine",
    "service":"nginx"
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL