release

package
v0.0.0-...-bb948f6 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PkgRepoBuildFileName  = "pkgrepo-build.yml"
	PkgRepositoryFileName = "package-repository.yml"
	DefaultVersion        = "0.0.0-build.%d"
	DefaultPkgRepoName    = "sample-repo.carvel.dev"
	PackagesDirectory     = "packages"

	LockOutputFolder = ".imgpkg"
	LockOutputFile   = "images.yml"
)
View Source
const (
	RepoVersionAnnKey = "kctrl.carvel.dev/repository-version"
)

Variables

This section is empty.

Functions

func NewReleaseCmd

func NewReleaseCmd(o *ReleaseOptions) *cobra.Command

Types

type ArtifactWriter

type ArtifactWriter struct {
	PackageRepoName string
	TargetDir       string
}

func NewArtifactWriter

func NewArtifactWriter(pkgRepoName string, directory string) *ArtifactWriter

func (*ArtifactWriter) WritePackageRepositoryFile

func (w *ArtifactWriter) WritePackageRepositoryFile(imgpkgBundleLocation, version string) error

type ImgpkgRunner

type ImgpkgRunner struct {
	BundlePath        string
	Paths             []string
	UseKbldImagesLock bool
	ImgLockFilepath   string
	UI                cmdcore.AuthoringUI
}

func (ImgpkgRunner) Run

func (r ImgpkgRunner) Run() (string, error)

type ReleaseCmdRunner

type ReleaseCmdRunner struct {
	// contains filtered or unexported fields
}

func NewReleaseCmdRunner

func NewReleaseCmdRunner(log io.Writer, fullOutput bool, tempImgLockFilepath string, ui cmdcore.AuthoringUI) *ReleaseCmdRunner

func (ReleaseCmdRunner) Run

func (r ReleaseCmdRunner) Run(cmd *goexec.Cmd) error

func (ReleaseCmdRunner) RunWithCancel

func (r ReleaseCmdRunner) RunWithCancel(cmd *goexec.Cmd, cancelCh chan struct{}) error

type ReleaseOptions

type ReleaseOptions struct {
	// contains filtered or unexported fields
}

func NewReleaseOptions

func NewReleaseOptions(ui ui.UI, depsFactory cmdcore.DepsFactory, logger logger.Logger) *ReleaseOptions

func (*ReleaseOptions) Run

func (o *ReleaseOptions) Run() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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