Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Preparer ¶
type Preparer struct { Interpreter string `hcl:"interpreter"` Query string `hcl:"query"` CheckFlags []string `hcl:"check_flags"` ExecFlags []string `hcl:"exec_flags"` Timeout string `hcl:"timeout" doc_type:"duration string"` Dir string `hcl:"dir"` Env map[string]string `hcl:"env"` }
Preparer handles querying
type Query ¶
Query represents an environmental query
func (*Query) Apply ¶
func (q *Query) Apply() (resource.TaskStatus, error)
Apply is a nop for queries. Because HasChanges always returns false this should never be executed.
func (*Query) HasChanges ¶
HasChanges returns true if changes are required as determined by the the most recent run of check.
Click to show internal directories.
Click to hide internal directories.