Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MetadataResultComparator = metadataResultComparator{}
View Source
var ReadResultComparator = readResultComparator{}
View Source
var WriteResultComparator = writeResultComparator{}
Functions ¶
func ValidateReadConformsMetadata ¶
func ValidateReadConformsMetadata(objectName string, readResponse map[string]any, metadata *common.ListObjectMetadataResult, ) error
ValidateReadConformsMetadata this will check that all the fields that were returned by `Read` method are a subset of ObjectMetadata. It is possible that Read will not return all the possible fields which is fine and not a cause for an error. However, it will return a Joined error for every Read field that is missing in Metadata.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.