api

package module
v0.0.0-...-9139f0b Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2020 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const DefaultServer = "http://localhost:8080"

Variables

This section is empty.

Functions

This section is empty.

Types

type Artifact

type Artifact struct {
	//ID       string `json:"id,omitempty"`
	//Checksum string `json:"checksum,omitempty"`
	//Target   string `json:"target,omitempty"`
	Location string `json:"location,omitempty"`
}

type Dependency

type Dependency string

type ImageRequest

type ImageRequest struct {
	Platform     Platform     `json:"platform,omitempty"`
	Dependencies []Dependency `json:"dependencies,omitempty"`
}

func (ImageRequest) Hash

func (img ImageRequest) Hash() string

type ImageResult

type ImageResult struct {
	ID        string     `json:"id,omitempty"`
	Artifacts []Artifact `json:"artifact,omitempty"`
}

type Platform

type Platform string
const (
	PlatformJVM Platform = "jvm"
)

Jump to

Keyboard shortcuts

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