k3d

package
v5.24.2 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package k3d provides K3d configuration validation functionality.

This package implements the Validator interface for K3d v1alpha5.SimpleConfig structures, validating cluster configurations for semantic correctness and constraint compliance.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

type Validator struct{}

Validator validates K3d cluster configurations using upstream K3d APIs.

func NewValidator

func NewValidator() *Validator

NewValidator creates a new K3d configuration validator.

func (*Validator) Validate

func (v *Validator) Validate(config *k3dapi.SimpleConfig) *validator.ValidationResult

Validate performs validation on a loaded K3d cluster configuration using upstream K3d APIs. This validator performs both essential field validation and comprehensive upstream K3d validation.

Jump to

Keyboard shortcuts

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