Versions in this module Expand all Collapse all v0 v0.2.61 Jul 30, 2026 Changes in this version + type Cassette struct + func Load(data []byte, providerVersion string) (*Cassette, error) + func New(mode Mode, providerVersion string) *Cassette + func (c *Cassette) Marshal() ([]byte, error) + func (c *Cassette) Mode() Mode + func (c *Cassette) Record(key Key, status uint32, safeHeaders map[string]string, ...) error + func (c *Cassette) Replay(key Key) (uint32, *providerv0.ExecuteRequestResponse, error) + type Entry struct + MatchDigest string + Method string + PolicyDigest string + ProviderVersion string + Response json.RawMessage + SafeHeaders map[string]string + Sequence int + Status uint32 + type Key struct + func NewKey(planned *providerv0.PlannedRequest, origin *providerv0.AdmittedOrigin) Key + type Mode int + const ModeRecord + const ModeReplay