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 ¶
RegisterValidatingHandler registers the WorkflowStepDefinition validation webhook with the manager.
Types ¶
type ValidatingHandler ¶
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.
Click to show internal directories.
Click to hide internal directories.