imagerecord

package
v0.0.0-...-b1c395d Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteController

type DeleteController struct {
	beego.Controller
}

func (*DeleteController) Delete

func (c *DeleteController) Delete()

@Title delete @Description delete the image record @Param name path string true "The name of image information" @Param name path string true "The version of image record" @Success 200 {string} {} @Failure 404 error reason @router /:name/:version [delete]

type ImageRecord

type ImageRecord struct {
	ImageInformation string
	Version          string
	Path             string
	VersionInfo      map[string]string
	Environment      map[string]string
	Description      string
	CreatedTime      string
}

type ListController

type ListController struct {
	beego.Controller
}

func (*ListController) Get

func (c *ListController) Get()

@Title get @Description get all image informations @Param name query string true "The name of image information" @Success 200 {string} []ImageRecord @Failure 404 error reason @router / [get]

Jump to

Keyboard shortcuts

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