stackimage

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IdLabel = "io.buildpacks.stack.id"
)

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) 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