Versions in this module Expand all Collapse all v7 v7.3.5 Apr 22, 2026 v7.3.3 Apr 22, 2026 v7.3.2 Apr 21, 2026 Changes in this version + func ValidateMetadata(kind, apiVersion, expectedKind, expectedAPIVersion string, ...) + type FileLocation struct + Column int + FilePath string + Line int + func (fl FileLocation) String() string + type MockValidator struct + func NewMockValidator[T any](t interface{ ... }) *MockValidator[T] + func (_m *MockValidator[T]) EXPECT() *MockValidator_Expecter[T] + func (_mock *MockValidator[T]) Validate(config T) *ValidationResult + type MockValidator_Expecter struct + func (_e *MockValidator_Expecter[T]) Validate(config interface{}) *MockValidator_Validate_Call[T] + type MockValidator_Validate_Call struct + func (_c *MockValidator_Validate_Call[T]) Return(validationResult *ValidationResult) *MockValidator_Validate_Call[T] + func (_c *MockValidator_Validate_Call[T]) Run(run func(config T)) *MockValidator_Validate_Call[T] + func (_c *MockValidator_Validate_Call[T]) RunAndReturn(run func(config T) *ValidationResult) *MockValidator_Validate_Call[T] + type ValidationError struct + CurrentValue any + ExpectedValue any + Field string + FixSuggestion string + Location FileLocation + Message string + func (ve ValidationError) Error() string + type ValidationResult struct + ConfigFile string + Errors []ValidationError + Valid bool + Warnings []ValidationError + func NewValidationResult(configFile string) *ValidationResult + func (vr *ValidationResult) AddError(err ValidationError) + func (vr *ValidationResult) AddWarning(warning ValidationError) + func (vr *ValidationResult) HasErrors() bool + func (vr *ValidationResult) HasWarnings() bool + type Validator interface + Validate func(config T) *ValidationResult Other modules containing this package github.com/devantler-tech/ksail/v5 github.com/devantler-tech/ksail/v6