constants

package
v1.3.1 Latest Latest
Warning

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

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

Documentation

Overview

Package constants defines a collection of constants for use throughout mink. It should have no dependencies.

Index

Constants

View Source
const (
	// SourceBundleParam is the name of the Tekton parameter that is
	// expected to pass the fully-qualified URI of a container image that
	// when run unpacks its payload into the working directory in which
	// it was invoked.
	SourceBundleParam = "dev.mink.sources.bundle"

	// ImageTargetParam is the name of the Tekton parameter that is
	// expected to pass the fully-qualified URI for where to publish
	// a container image.
	ImageTargetParam = "dev.mink.images.target"
)
View Source
const (
	// ImageDigestResult is the name of the Tekton result that is expected
	// to surface the digest of a singular image produces by a given task
	// or pipeline.  This digest is NOT fully qualified, so it should have
	// the form: sha256:deadbeef   (shortened for brevity)
	//
	// Generally this input string is paired with a parameter that directs
	// the task to publish the image to a particular tag, e.g.
	//   ghcr.io/mattmoor/mink-images:latest
	//
	// So the fully qualified digest may be assembled by concatenating these
	// with an @:
	//   ghcr.io/mattmoor/mink-images:latest@sha256:deadbeef
	ImageDigestResult = "dev.mink.images.digest"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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