mirror of
https://github.com/turbot/steampipe.git
synced 2026-02-24 20:00:27 -05:00
Update check to te-add implicit conversion of named query name to named query, so setting the SQL field to a query name would work. Update reflection tables to fix JSONB arrays Workspace loads and watches files recursively if a mod.sp file exists in the workspace folder Update reflection tables - 'labels' and 'links' are now JSONB columns rename control property Query to SQL and do NOT try to resolve this as a named query Add documentation property to control_group
24 lines
498 B
Go
24 lines
498 B
Go
package parse
|
|
|
|
import filehelpers "github.com/turbot/go-kit/files"
|
|
|
|
type ParseModFlag uint32
|
|
|
|
const (
|
|
CreateDefaultMod ParseModFlag = 1 << iota
|
|
CreatePseudoResources
|
|
)
|
|
|
|
type ParseModOptions struct {
|
|
Flags ParseModFlag
|
|
ListOptions *filehelpers.ListOptions
|
|
}
|
|
|
|
func (o *ParseModOptions) CreateDefaultMod() bool {
|
|
return o.Flags&CreateDefaultMod == CreateDefaultMod
|
|
}
|
|
|
|
func (o *ParseModOptions) CreatePseudoResources() bool {
|
|
return o.Flags&CreatePseudoResources == CreatePseudoResources
|
|
}
|