inspektor

module
v0.0.0-...-a3a5494 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: MIT

README

Inspektor

GitHub Actions Workflow Status Go Mod Version

Inspektor is a simple API tool that I use to test container and Kubernetes deplomeyents wheneven I'm doing infrastructure tests; it's modeled as a Golang API server that can extract useful information about it own environment. If you hit the /v1/inspect endpoint, you should get a response similar to the following payload example:

{
  "name": "inspektor",
  "version": "v1",
  "pod": {
    "name": "inspektor-7d4b7f7b5f-8q9qj",
    "namespace": "dev",
    "ip": "172.10.5.24"
  }
}

Development

How to Build and Run

The development workflow requires a working Golang environment and make installed. To build and run the application, just run the following commands:

$ make build
$ ./bin/inspektor

# or just run the following command
$ make run

License

MIT License

Directories

Path Synopsis
cmd
internal
pkg

Jump to

Keyboard shortcuts

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