repositorypackage
0.3.3
Repository: https://github.com/jacobweinstock/tinklet.git
Documentation: pkg.go.dev
# README
tinklet
:warning: This is a WIP as it is not a drop in replacement for tink-worker yet :warning:
tinklet is an implementation of the tinkerbell worker.
Notable Features
- auth for multiple container registries
- multiple client-side TLS options for communicating with Tink server
- multiple backends [docker, kubernetes] for running workflow task actions
Usage
USAGE
tinklet [flags] <subcommand>
SUBCOMMANDS
docker run the tinklet using the docker backend.
kube run the tinklet using the kubernetes backend.
FLAGS
-config tinklet.yaml config file (optional)
-identifier ... worker id (required)
-loglevel info log level (optional)
-registry {"Name":"","User":"","Pass":""} container image registry (optional)
-tink ... tink server url (required)
-tls false tink server TLS (optional)
Design Philosophies
- prefer easy to understand over easy to do
pkg
packages do not log only return errorspkg
is generic, reuseable code- functions/methods should follow the single responsibility principle
- less code, less bugs
- prefer explicit over implicit
- avoid global/package level variables as much as possible