Documentation ¶
Index ¶
- Constants
- func Delete(ctx context.Context, cl runtimeclient.Client, s *runtime.Scheme, ...) (bool, error)
- func GetTemplateObjects(s *runtime.Scheme, namespace, image string, caBundle []byte) ([]runtimeclient.Object, error)
- func Webhook(ctx context.Context, cl runtimeclient.Client, s *runtime.Scheme, ...) error
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 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.