image

package
v1.1.9-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2020 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 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

View Source
const (
	WerfLabel               = "werf"
	WerfVersionLabel        = "werf-version"
	WerfCacheVersionLabel   = "werf-cache-version"
	WerfImageLabel          = "werf-image"
	WerfImageNameLabel      = "werf-image-name"
	WerfImageTagLabel       = "werf-image-tag"
	WerfDockerImageName     = "werf-docker-image-name"
	WerfStageSignatureLabel = "werf-stage-signature"

	WerfMountTmpDirLabel          = "werf-mount-type-tmp-dir"
	WerfMountBuildDirLabel        = "werf-mount-type-build-dir"
	WerfMountCustomDirLabelPrefix = "werf-mount-type-custom-dir-"

	WerfImportLabelPrefix = "werf-import-"

	WerfTagStrategyLabel = "werf-tag-strategy"

	BuildCacheVersion = "1.1"

	StageContainerNamePrefix = "werf.build."
)

Variables

This section is empty.

Functions

func MustParseTimestampString added in v1.1.9

func MustParseTimestampString(timestampString string) time.Time

func ParseRepositoryAndTag added in v1.1.9

func ParseRepositoryAndTag(ref string) (string, string)

Types

type Info added in v1.1.9

type Info struct {
	Name              string            `json:"name"`
	Repository        string            `json:"repository"`
	Tag               string            `json:"tag"`
	RepoDigest        string            `json:"repoDigest"`
	ID                string            `json:"ID"`
	ParentID          string            `json:"parentID"`
	Labels            map[string]string `json:"labels"`
	Size              int64             `json:"size"`
	CreatedAtUnixNano int64             `json:"createdAtUnixNano"`
}

func NewInfoFromInspect added in v1.1.9

func NewInfoFromInspect(ref string, inspect *types.ImageInspect) *Info

func (*Info) GetCreatedAt added in v1.1.9

func (info *Info) GetCreatedAt() time.Time

func (*Info) SetCreatedAtUnix added in v1.1.9

func (info *Info) SetCreatedAtUnix(seconds int64)

func (*Info) SetCreatedAtUnixNano added in v1.1.9

func (info *Info) SetCreatedAtUnixNano(seconds int64)

Jump to

Keyboard shortcuts

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