workflowstepdefinition

package
v1.10.7 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package workflowstepdefinition provides admission control validation for WorkflowStepDefinition resources in KubeVela.

Index

Constants

View Source
const (
	// ValidationWebhookPath defines the HTTP path for the validation webhook
	ValidationWebhookPath = "/validating-core-oam-dev-v1beta1-workflowstepdefinitions"
)

Variables

This section is empty.

Functions

func RegisterValidatingHandler

func RegisterValidatingHandler(mgr manager.Manager)

RegisterValidatingHandler registers the WorkflowStepDefinition validation webhook with the manager.

Types

type ValidatingHandler

type ValidatingHandler struct {
	Decoder admission.Decoder
	Client  client.Client
}

ValidatingHandler handles validation of WorkflowStepDefinition resources.

func (*ValidatingHandler) Handle

Handle validates WorkflowStepDefinition resources during admission control.

func (*ValidatingHandler) InjectClient

func (h *ValidatingHandler) InjectClient(c client.Client) error

InjectClient injects the Kubernetes client into the handler.

func (*ValidatingHandler) InjectDecoder

func (h *ValidatingHandler) InjectDecoder(d admission.Decoder) error

InjectDecoder injects the admission decoder into the handler.

Jump to

Keyboard shortcuts

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