Documentation ¶
Overview ¶
Package validate provides functions to validate the provided objects.
Index ¶
- func GroupForStreamOrMeasure(group *commonv1.Group) error
- func IndexRule(indexRule *databasev1.IndexRule) error
- func IndexRuleBinding(indexRuleBinding *databasev1.IndexRuleBinding) error
- func Measure(measure *databasev1.Measure) error
- func Stream(stream *databasev1.Stream) error
- func TopNAggregation(topNAggregation *databasev1.TopNAggregation) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GroupForStreamOrMeasure ¶
GroupForStreamOrMeasure validates the provided Group object for Stream or Measure. It checks for nil values, empty strings, and unspecified enum values.
func IndexRule ¶
func IndexRule(indexRule *databasev1.IndexRule) error
IndexRule validates the provided IndexRule object. It checks for nil values, empty strings, and unspecified enum values.
func IndexRuleBinding ¶
func IndexRuleBinding(indexRuleBinding *databasev1.IndexRuleBinding) error
IndexRuleBinding validates the provided IndexRuleBinding object. It checks for nil values, empty strings, and unspecified enum values.
func Measure ¶
func Measure(measure *databasev1.Measure) error
Measure validates the provided Measure object. It checks for nil values, empty strings, and unspecified enum values.
func Stream ¶
func Stream(stream *databasev1.Stream) error
Stream validates the provided Stream object. It checks for nil values, empty strings, and unspecified enum values.
func TopNAggregation ¶
func TopNAggregation(topNAggregation *databasev1.TopNAggregation) error
TopNAggregation validates the provided TopNAggregation object. It checks for nil values, empty strings, and unspecified enum values.
Types ¶
This section is empty.