Files
steampipe/steampipeconfig/parse/parse_mod_options.go
kai 7e3ae0a386 Add parsing support for variable references, functions and locals. Closes #405
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
2021-05-20 16:11:13 +01:00

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
}