image

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2018 License: MIT Imports: 1 Imported by: 3 modules, 4 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equals added in v1.0.9

func Equals(img1 *Reference, img2 *Reference) bool

Equals determines if two image references are equal.

Types

type Dependencies

type Dependencies struct {
	Image     *Reference    `json:"image"`
	Runtime   *Reference    `json:"runtime-dependency"`
	Buildtime []*Reference  `json:"buildtime-dependency"`
	Git       *GitReference `json:"git,omitempty"`
}

Dependencies denotes Docker image dependencies.

type GitReference

type GitReference struct {
	GitHeadRev string `json:"git-head-revision"`
}

GitReference defines the reference to git source code

type Reference

type Reference struct {
	Registry   string `json:"registry"`
	Repository string `json:"repository"`
	Tag        string `json:"tag,omitempty"`
	Digest     string `json:"digest"`
	Reference  string `json:"reference"`
}

Reference defines the reference to a Docker image

func (*Reference) String

func (i *Reference) String() string

String returns a string representation of an ImageReference.

Jump to

Keyboard shortcuts

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