stackimage

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IdLabel        = "io.buildpacks.stack.id"
	RunImageName   = "run"
	BuildImageName = "build"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Fetcher

type Fetcher interface {
	Fetch(keychain authn.Keychain, image string) (v1.Image, error)
}

type Relocator

type Relocator interface {
	Relocate(keychain authn.Keychain, image v1.Image, dest string) (string, error)
}

type Uploader

type Uploader struct {
	Relocator Relocator
	Fetcher   Fetcher
}

func (*Uploader) UploadStackImages

func (u *Uploader) UploadStackImages(keychain authn.Keychain, buildImageTag, runImageTag, dest string) (string, string, error)

func (*Uploader) UploadedBuildImageRef

func (u *Uploader) UploadedBuildImageRef(keychain authn.Keychain, imageTag, dest string) (string, error)

func (*Uploader) UploadedRunImageRef

func (u *Uploader) UploadedRunImageRef(keychain authn.Keychain, imageTag, dest string) (string, error)

func (*Uploader) ValidateStackIDs

func (u *Uploader) ValidateStackIDs(keychain authn.Keychain, buildImageTag, runImageTag string) (string, error)

Jump to

Keyboard shortcuts

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