Versions in this module Expand all Collapse all v1 v1.0.0 May 29, 2023 Changes in this version + type ContainsValidator struct + Content interface{} + Path string + func (v ContainsValidator) Validate(context *ValidateContext) (bool, []string) + type EqualValidator struct + Path string + Value interface{} + func (a EqualValidator) Validate(context *ValidateContext) (bool, []string) + type HasDocumentsValidator struct + Count int + func (v HasDocumentsValidator) Validate(context *ValidateContext) (bool, []string) + type IsAPIVersionValidator struct + Of string + func (v IsAPIVersionValidator) Validate(context *ValidateContext) (bool, []string) + type IsEmptyValidator struct + Path string + func (v IsEmptyValidator) Validate(context *ValidateContext) (bool, []string) + type IsKindValidator struct + Of string + func (v IsKindValidator) Validate(context *ValidateContext) (bool, []string) + type IsNullValidator struct + Path string + func (v IsNullValidator) Validate(context *ValidateContext) (bool, []string) + type MatchRegexValidator struct + Path string + Pattern string + func (v MatchRegexValidator) Validate(context *ValidateContext) (bool, []string) + type MatchSnapshotValidator struct + Path string + func (v MatchSnapshotValidator) Validate(context *ValidateContext) (bool, []string) + type SnapshotComparer interface + CompareToSnapshot func(content interface{}) *snapshot.CompareResult + type Validatable interface + Validate func(context *ValidateContext) (bool, []string) + type ValidateContext struct + Docs []common.K8sManifest + Index int + Negative bool