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.
Click to show internal directories.
Click to hide internal directories.