images

package
v0.0.99 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2020 License: UPL-1.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Images []Image

Images is the available set of images

Functions

func Init

func Init()

Init creates an empty slice of images

func ReturnAllImages

func ReturnAllImages(w http.ResponseWriter, r *http.Request)

ReturnAllImages returns all images available

func ReturnSingleImage

func ReturnSingleImage(w http.ResponseWriter, r *http.Request)

ReturnSingleImage returns the image identified by the supplied key. If no image is found, sets the 404/NotFound HTTP status header

Types

type Image

type Image struct {
	ID              string `json:"id"`
	Format          string `json:"format"`
	WebLogicVersion string `json:"weblogic_version"`
	JDKVersion      string `json:"jdk_version"`
	WebLogicPSU     string `json:"weblogic_psu"`
	Patches         string `json:"patches"`
	Name            string `json:"name"`
	Tag             string `json:"tag"`
	Description     string `json:"description"`
	Status          string `json:"status"`
}

Image is a structure providing the image metadata

Jump to

Keyboard shortcuts

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