Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Assertion ¶
type Assertion struct {
Template string
DocumentIndex int
Not bool
AssertType string
// contains filtered or unexported fields
}
Assertion defines target and metrics to validate rendered result
func (*Assertion) Assert ¶
func (a *Assertion) Assert( templatesResult map[string][]common.K8sManifest, snapshotComparer validators.SnapshotComparer, result *AssertionResult, ) *AssertionResult
Assert validate the rendered manifests with validator
func (*Assertion) UnmarshalYAML ¶
UnmarshalYAML implement yaml.Unmalshaler, construct validator according to the assert type
Click to show internal directories.
Click to hide internal directories.