package
Version:
v0.0.0-...-02c76fb
Opens a new window with list of versions in this module.
Published: Nov 10, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Preparer struct {
Interpreter string `hcl:"interpreter"`
Query string `hcl:"query" nonempty:"true"`
CheckFlags []string `hcl:"check_flags"`
ExecFlags []string `hcl:"exec_flags"`
Timeout *time.Duration `hcl:"timeout"`
Dir string `hcl:"dir"`
Env map[string]string `hcl:"env"`
}
Preparer handles querying
Prepare creates a new query type
type Query struct {
*shell.Shell `re-export-as:"task"`
}
Query represents an environmental query
Apply is a nop for queries. Because HasChanges always returns false this
should never be executed.
HasChanges returns true if changes are required as determined by the the most
recent run of check.
Messages returns a summary of the first execution of check and/or apply.
Subsequent runs are surpressed.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.