# Packages
No description provided by the author
# Functions
CompareQuality implements a slices.SortFunc for Quality's.
CompareQuality implements a slices.SortFunc for pb.Quality's.
DecodeProto takes a wire request of a FlightPlan and returns a new flight plan and a wire encodable decode response.
DefaultTerraformCLI returns a "default" Terraform CLI that attempts to resolve terraform from the system PATH.
FindRawFiles scans a directory for files matching the given pattern and returns the loaded raw files.
LoadRawFiles takes a slice of paths and returns the loaded raw files.
NewDecoder takes functional options and returns a new flight plan.
NewElement takes an element key and value and returns a new Element.
NewExclude takes an ExcludeMode and Vector, validates the ExcludeMode and returns a pointer to a new instance of Exclude and any errors encountered.
NewFlightPlan returns a new instance of a FlightPlan.
NewMatrix returns a pointer to a new instance of Matrix.
NewModule returns a new Module.
NewProvider returns a new Provider.
NewQuality returns a new Quality.
NewSample returns a new Sample.
NewSampleObservationReq takes optional NewSampleObservationOpt's and returns a new SampleObservationReq.
NewSampleSubset returns a new SampleSubset.
NewSampleValidationReq takes optional NewSampleValidationOpt's and returns a new SampleValidationReq.
NewScenario returns a new Scenario.
NewScenarioDecoder takes any number of scenario decoder opts and returns a new scenario decoder.
No description provided by the author
NewScenarioFilter takes in options and returns a new filter.
NewScenarioOutput returns a new Output.
NewScenarioStep returns a new Scenario step.
NewSchemalessBlock takes a block type and any labels and returns a new schemaless block.
NewTerraformCLI returns a new TerraformCLI.
NewTerraformSetting returns a new TerraformSetting.
NewTerraformSettingBackend returns a new TerraformSettingBackend.
NewVariable returns a new Variable.
NewMatrix takes zero-or-more elements and returns a pointer to a new instance of Vector.
NewVectorFromProto takes a proto filter vector and returns a new Vector.
ParseScenarioFilter takes command arguments that have been split by spaces and validates that they are composed of a valid scenario filter.
SampleFuncAll takes a sample frame and returns all of the subsets elements as the observation.
SampleFuncPurposiveStratified takes a sample frame and random number generator and returns a new sample observation.
StepVariableFromVal returns the *StepVariable from a given value.
StepVariableVal returns a new cty.Value of type StepVariableType.
WithDecoderBaseDir sets the flight plan base directory.
WithDecoderDecodeTarget sets the decoding mode.
WithDecoderEnv sets flight plan variables from env vars.
WithDecoderFPFiles sets the flight plan contents as raw bytes.
WithDecoderScenarioFilter sets the scenario decoding filter.
WithDecoderVarFiles sets the flight plan variable contents as raw bytes.
WithFlightPlanBaseDirectory sets the base directory to the absolute path of the directory given.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WithScenarioDecoderBlocks sets the blocks to decode.
WithScenarioDecoderDecodeTarget sets the desired target level for the scenario decoder.
WithScenarioDecoderEvalContext sets the parent hcl.EvalContext for the decoder.
WithScenarioDecoderScenarioFilter sets the decoders scenario filter.
WithScenarioFilterDecode decodes a filter from a proto Filter.
WithScenarioFilterFromSampleSubset takes a sample subset and returns a filter for it.
WithScenarioFilterFromScenarioRef takes a scenario reference and returns a filter for it.
WithScenarioFilterMatchingVariants makes the filter select only scenarios with variants that match the given values.
WithScenarioFilterName sets the filter name.
WithScenarioFilterParse parses the given filter.
WithScenarioFilterSelectAll makes the filter select all.
# Constants
Make sure this is always the latest decoding target.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
FlightPlanFileNamePattern is what file names match valid enos configuration files.
StepVariableType is a cty capsule type that represents "step" variables.
FlightPlanFileNamePattern is what file names match valid enos configuration files.
# Structs
Decoder is our Enos flight plan, or, our representation of the HCL file(s) an author has composed.
An Element represents a single element of a matrix vector.
Exclude is an exclusion filter that can be passed to the matrix.
FlightPlan represents our flight plan, the main configuration of Enos.
Matrix is an ordered list of vectors.
MatrixBlock represent a full "matrix" block at various stages.
Module represents an Enos Terraform module block.
Provider is a Enos transport configuration.
Quality represents an Enos Terraform quality block.
A sample is named collection of subsets and attributes.
A sample field is a collection of subset fields one-or-more subsets.
SampleObservation is a result of taking an algorithmic observation of a sample frame.
SampleObservationReq is a request to take an observation of a sample set.
SampleSubset is a subset of samples.
SampleSubsetFrame is filtered frame of a subset.
SampleSubsetObservation is an obserservation of a sample subset frame.
SampleValidationReq is a request to validate samples decode and have valid sub-frames.
Scenario represents an Enos scenario.
ScenarioBlock represents a decoded "scenario" block.
ScenarioDecoder expands and decodes scenario blocks into individual Scenarios.
ScenarioDecodeRequest is a request to decode a given scenario to the correct target given an individual variant Vector, ScenarioBlock and DecodeTarget.
ScenarioDecodeResponse is a response given from a scenario decoder.
ScenarioDecoderIterator is an iteratable struct that decodes scenarios and allows the caller to choose how to handle the decoded scenarios.
ScenarioFilter is a filter for scenarios.
ScenarioOutput represents an "output" block in a scenario.
ScenarioStep is a step in an Enos scenario.
SchemalessBlock is our value on HCL block that has no known schema.
StepVariable is the type encapsulated in StepVariableType.
TerraformCLI is a Terraform CLI configuration.
TerraformSetting is a terraform settings configuration.
TerraformSettingBackend is the "backend".
Variable represents a "variable" block in a module or file.
VariableValue is a user supplied variable value.
Vector is an ordered collection of matrix elements.
# Type aliases
DecoderOpt is a functional option for a new flight plan.
DecodeTarget determines the depth of flight plan decoding so we only ever decode, expand and validate information relevant to our operation.
Opt is a flight plan option.
RawFiles are a map of flightplan configuration files and their contents.
SampleObservationFunc takes a context, a sample frame, and a random number source and returns a SampleObservation.
SampleObservationOpt is a functional option for a NewSampleObservationReq.
SampleSubsetFrames are a collection from one-or-more named subset frames.
SampleSubsetObservations are a map of subsets to their observations.
SampleValidationOpt is a functional option for a NewSampleValidationReq.
ScenarioBlocks are all of the scenario blocks that have been decoded.
ScenarioDecoderOpt is a scenario decoder option.
ScenarioFilterOpt is a scenario filter constructor functional option.
No description provided by the author