s2i

package
v2.9.0-nightly Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2025 License: Apache-2.0 Imports: 11 Imported by: ? modules, 0 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

Overview

Package s2i contains utilities for openshift s2i builds.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildConfig

func BuildConfig(ctx context.Context, c client.Client, bc *buildv1.BuildConfig, owner metav1.Object) error

Create the BuildConfig of the build with the right owner after having deleted it already existed.

func CancelBuild

func CancelBuild(ctx context.Context, c client.Client, build *buildv1.Build) error

Cancel the s2i Build by updating its status.

func ImageStream

func ImageStream(ctx context.Context, c client.Client, is *imagev1.ImageStream, owner metav1.Object) error

Create the ImageStream for the builded image with the right owner after having deleted it already existed.

func WaitForS2iBuildCompletion

func WaitForS2iBuildCompletion(ctx context.Context, c client.Client, build *buildv1.Build) error

Wait for the s2i Build to complete with success or cancellation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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