go-kubernetes

command module
v0.0.0-...-1af1d7c Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2023 License: MIT Imports: 13 Imported by: 0

README

Go version 1.21.1

Install the dependencies using the below command:

go mod tidy

Generate the swagger documentation

swag init --parseDependency true

Note: Make sure swag already installed on your local machine

Run the project using the below command:

Note: Before running the project, Ensure you can access the target Kubernetes cluster using kubectl. The kubeconfig file should be in the user’s home directory .kube folder for the setup to work as expected.

go run main.go

Then visit http://localhost:8080/docs/index.html to view the api list.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.
module
pod

Jump to

Keyboard shortcuts

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