actions

package
v0.0.0-...-db35936 Latest Latest
Warning

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

Go to latest
Published: May 20, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ENV = envy.Get("GO_ENV", "development")

ENV is used to help switch settings based on where the application is being run. Default is "development".

Functions

func App

func App() *buffalo.App

@host helm.example.com @BasePath /v1

func HomeHandler

func HomeHandler(c buffalo.Context) error

HomeHandler is a default handler to serve up a home page.

Types

type DownloadResource

type DownloadResource struct{}

func (DownloadResource) Create

func (ur DownloadResource) Create(c buffalo.Context) error

@description Create Download. / ... @Param name path string true "Chart name" @Param url path int true "Chart source URL" @Accept json @Produce json @Success 200 {object} models.Download @Router /download [post]

func (DownloadResource) List

func (downr DownloadResource) List(c buffalo.Context) error

@description List all available downloaded charts @Param name path string true "Chart name" @Accept json @Produce json @Success 200 {array} models.Download @Router /download [get]

func (DownloadResource) Show

func (downr DownloadResource) Show(c buffalo.Context) error

@Summary Show downloaded chart @Description Show a download by name. @Param name path string true "Chart name" @Accept json @Produce json @Success 200 {object} models.Download @Router /download/{name} [get]

Jump to

Keyboard shortcuts

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