releaseimage

package
v1.4.17 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: Apache-2.0 Imports: 8 Imported by: 7 modules, 9 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 Default

func Default() (string, error)

Default abstracts how the binary loads the default release payload. We want to lock the binary to the pull spec of the payload we test it with, and since a payload contains an installer image we can't know that at build time. Instead, we make it possible to replace the release string after build via a known constant in the binary.

Types

type Image

type Image struct {
	PullSpec   string
	Repository string
}

Image asset generates the release-image pullspec for the cluster

func (*Image) Dependencies

func (a *Image) Dependencies() []asset.Asset

Dependencies is the list of assets required to generate ReleaseImage.

func (*Image) Generate

func (a *Image) Generate(_ context.Context, dependencies asset.Parents) error

Generate creates the asset using the dependencies.

func (*Image) Name

func (a *Image) Name() string

Name is the human friendly name for the asset.

Jump to

Keyboard shortcuts

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