releaseimage

package
v0.0.0-...-c53fdc3 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

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