package
0.0.0-20230226003218-1dd1f65bfa42
Repository: https://github.com/c4-project/c4t.git
Documentation: pkg.go.dev
# Functions
Mock makes a valid, but mocked-up, plan.
No description provided by the author
NewMetadata produces metadata with a seed and creation time initialised from the current time.
Read reads uncompressed plan information from r into p.
ReadCompressed reads compressed plan information from r into p.
ReadFile reads plan information from the file named by path into p.
ReadMagic is ReadCompressed if r starts with the gzip magic number, and Read otherwise.
# Constants
CurrentVer is the current plan version.
Ext is the file extension, if any, that should be used for plan files.
ExtCompress is the file extension, if any, that should be used for compressed plan files.
UseDateSeed is a value for the header constructor's seed parameter that ensures its RNG will be seeded by run date.
WriteCompress should be passed to plan writers to request compression.
WriteHuman should be passed to plan writers to request human-readable indentation.
WriteNone is the absence of write flags.
# Variables
ErrForbiddenStage occurs when a plan has confirmation of a stage that should not be confirmed.
ErrMissingStage occurs when a plan is missing confirmation of a stage on which something depends.
ErrNil is an error that can be returned if a tester stage gets a nil plan.
ErrVersionMismatch occurs when the version of a plan loaded into part of a tester doesn't equal CurrentVer.
# Interfaces
Runner is the interface of parts of the tester that transform plans.