Versions in this module Expand all Collapse all v0 v0.1.0 Sep 14, 2026 Changes in this version + const GiB + const KiB + const MiB + const SupportedEngine + const SupportedFormat + const SupportedNetwork + const SupportedProvider + const SupportedVersion + func ParseDuration(s string) (time.Duration, error) + type ByteSize int64 + func ParseByteSize(s string) (ByteSize, error) + type Check struct + Expect CheckExpect + Name string + Query string + Type string + type CheckExpect struct + GreaterThan *int + Type string + Value any + type Cleanup struct + Always bool + ForceRemove bool + RemoveVolumes bool + type Contract struct + Cleanup Cleanup + Description string + Isolation Isolation + Limits Limits + Name string + Restore Restore + Source Source + Test Test + Version int + func Parse(data []byte) (*Contract, error) + func ParseFile(path string) (*Contract, error) + func (c *Contract) Validate() error + type Isolation struct + BlockExternalNetwork bool + InspectOnly bool + Network string + PublishPorts bool + type Limits struct + MaxArtifactSize string + Memory string + Pids int + ShmSize string + Timeout string + type Restore struct + Format string + type Source struct + NoLock bool + PasswordFileEnv string + Path string + Provider string + RepositoryEnv string + Snapshot string + type Test struct + Checks []Check + Database string + Engine string + Image string + PasswordEnv string + RestoreOptions []string + Username string