deploy

package
v0.0.0-...-3ec7d15 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// WebhookDeploymentNoDeletionAnnotation is used on webhook resources that should not be deleted when the deployment of the webhook is disabled
	WebhookDeploymentNoDeletionAnnotation = "toolchain.dev.openshift.com/no-deletion"
)

Variables

This section is empty.

Functions

func Delete

func Delete(ctx context.Context, cl runtimeclient.Client, s *runtime.Scheme, namespace string) (bool, error)

Delete deletes the webhook app if it's deployed. Does nothing if it's not. Returns true if the app was deleted.

func GetTemplateObjects

func GetTemplateObjects(s *runtime.Scheme, namespace, image string, caBundle []byte) ([]runtimeclient.Object, error)

func Webhook

func Webhook(ctx context.Context, cl runtimeclient.Client, s *runtime.Scheme, namespace, image string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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