s2i

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

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