controllers

package
v0.0.0-...-34a989c Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTool

func CreateTool(c *gin.Context)

func DeleteTool

func DeleteTool(c *gin.Context)

func FindTool

func FindTool(c *gin.Context)

func FindTools

func FindTools(c *gin.Context)

func GetAllTools

func GetAllTools() ([]*release.Release, error)

GetAllTools uses the helm client to query a cluster for all Helm charts

func PopulateTools

func PopulateTools(c *gin.Context)

func UpdateTool

func UpdateTool(c *gin.Context)

Types

type CreateToolInput

type CreateToolInput struct {
	Id   string `json:"id"`
	Name string `json:"name" binding:"required"`
}

type UpdateToolInput

type UpdateToolInput struct {
	Id   string `json:"id"`
	Name string `json:"name"`
}

Jump to

Keyboard shortcuts

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