in

package
v0.0.0-...-6ec0dd8 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metadata

type Metadata struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

Metadata are informational fields output by a get step, displayed in the web UI.

type Request

type Request struct {
	Source  gceimgresource.Source  `json:"source"`
	Version gceimgresource.Version `json:"version"`
}

Request is the input of a get step.

type Response

type Response struct {
	Version  gceimgresource.Version `json:"version"`
	Metadata []Metadata             `json:"metadata,omitempty"`
}

Response is the output of a get step.

func Run

func Run(destinationDir string, request Request) (Response, error)

Run performs a get step, writing image metadata to files in the provided resource dir.

Jump to

Keyboard shortcuts

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