Documentation ¶
Index ¶
- Variables
- type Check
- type ColumnMetdataMap
- type ColumnValueRule
- type FileInfo
- type GenericRule
- type MetadataMap
- type Report
- type Rule
- func DataScanningRules() []Rule
- func GeometryBounds() Rule
- func GeometryDataType() Rule
- func GeometryEncoding() Rule
- func GeometryOrientation() Rule
- func GeometryRepetition() Rule
- func GeometryTypes() Rule
- func GeometryUngrouped() Rule
- func MetadataOnlyRules() []Rule
- func OptionalBbox() Rule
- func OptionalCRS() Rule
- func OptionalEdges() Rule
- func OptionalEpoch() Rule
- func OptionalOrientation() Rule
- func PrimaryColumnInLookup() Rule
- func RequiredColumnEncoding() Rule
- func RequiredColumns() Rule
- func RequiredGeoKey() Rule
- func RequiredGeometryTypes() Rule
- func RequiredMetadataType() Rule
- func RequiredPrimaryColumn() Rule
- func RequiredVersion() Rule
- type RuleData
- type Validator
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFatal = errFatal("fatal error")
Functions ¶
This section is empty.
Types ¶
type ColumnMetdataMap ¶
type ColumnValueRule ¶
type ColumnValueRule[T any] struct { // contains filtered or unexported fields }
func (*ColumnValueRule[T]) Init ¶
func (r *ColumnValueRule[T]) Init(info *FileInfo)
func (*ColumnValueRule[T]) Title ¶
func (r *ColumnValueRule[T]) Title() string
func (*ColumnValueRule[T]) Validate ¶
func (r *ColumnValueRule[T]) Validate() error
func (*ColumnValueRule[T]) Value ¶
func (r *ColumnValueRule[T]) Value(name string, data T) error
type GenericRule ¶
type GenericRule[T RuleData] struct { // contains filtered or unexported fields }
func (*GenericRule[T]) Init ¶
func (r *GenericRule[T]) Init(value T)
func (*GenericRule[T]) Title ¶
func (r *GenericRule[T]) Title() string
func (*GenericRule[T]) Validate ¶
func (r *GenericRule[T]) Validate() error
type MetadataMap ¶
type Rule ¶
func DataScanningRules ¶
func DataScanningRules() []Rule
func GeometryBounds ¶
func GeometryBounds() Rule
func GeometryDataType ¶
func GeometryDataType() Rule
func GeometryEncoding ¶
func GeometryEncoding() Rule
func GeometryOrientation ¶
func GeometryOrientation() Rule
func GeometryRepetition ¶
func GeometryRepetition() Rule
func GeometryTypes ¶
func GeometryTypes() Rule
func GeometryUngrouped ¶
func GeometryUngrouped() Rule
func MetadataOnlyRules ¶
func MetadataOnlyRules() []Rule
func OptionalBbox ¶
func OptionalBbox() Rule
func OptionalCRS ¶
func OptionalCRS() Rule
func OptionalEdges ¶
func OptionalEdges() Rule
func OptionalEpoch ¶
func OptionalEpoch() Rule
func OptionalOrientation ¶
func OptionalOrientation() Rule
func PrimaryColumnInLookup ¶
func PrimaryColumnInLookup() Rule
func RequiredColumnEncoding ¶
func RequiredColumnEncoding() Rule
func RequiredColumns ¶
func RequiredColumns() Rule
func RequiredGeoKey ¶
func RequiredGeoKey() Rule
func RequiredGeometryTypes ¶
func RequiredGeometryTypes() Rule
func RequiredMetadataType ¶
func RequiredMetadataType() Rule
func RequiredPrimaryColumn ¶
func RequiredPrimaryColumn() Rule
func RequiredVersion ¶
func RequiredVersion() Rule
type RuleData ¶
type RuleData interface { *file.Reader | MetadataMap | ColumnMetdataMap | *FileInfo }
Click to show internal directories.
Click to hide internal directories.