bundle

package
v0.12.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSourceBundleImage

func GetSourceBundleImage(ctx context.Context, client buildclientset.Interface, buildRun *buildv1alpha1.BuildRun) (string, error)

GetSourceBundleImage returns the source bundle image of the build that is associated with the provided buildrun, an empty string if source bundle is not used, or an error in case the build cannot be obtained

func Push

func Push(ctx context.Context, io *genericclioptions.IOStreams, localDirectory string, targetImage string) (name.Digest, error)

Push bundles the provided local directory into a container image and pushes it to the given registry. For this to work, it relies on valid and working container registry access credentials and tokens to be available in the local system, for example logins done by `docker login` or similar.

Types

This section is empty.

Jump to

Keyboard shortcuts

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