api

package
v0.0.0-...-d7a523c Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAPIRouter

func NewAPIRouter() *gin.Engine

func Run

func Run()

Types

type PodList

type PodList struct {
	Pods []string `json:"pods"`
}

func GetPods

func GetPods() (*PodList, error)

type TopSpin

type TopSpin struct{}

func (*TopSpin) Health

func (ts *TopSpin) Health(c *gin.Context)

func (*TopSpin) Ping

func (ts *TopSpin) Ping(c *gin.Context)

func (*TopSpin) Pods

func (ts *TopSpin) Pods(c *gin.Context)

func (*TopSpin) Spin

func (ts *TopSpin) Spin(c *gin.Context)

Jump to

Keyboard shortcuts

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