Documentation ¶
Index ¶
- func Deprecated(msg string) cmdconfig.FlagOption
- func DisplayConfig()
- func IsLocal() bool
- func ResolveTargets[T modconfig.ModTreeItem](cmdArgs []string, w *pworkspace.PowerpipeWorkspace) ([]modconfig.ModTreeItem, error)
- func SetAppSpecificConstants()
- func ToModTreeItemSlice[T modconfig.ModTreeItem](items []T) []modconfig.ModTreeItem
- func ValidateDatabaseArg() error
- func ValidateSnapshotArgs(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Deprecated ¶ added in v1.0.0
func Deprecated(msg string) cmdconfig.FlagOption
TODO temp until new pipe-fittings release
func DisplayConfig ¶
func DisplayConfig()
DisplayConfig prints all config set via WorkspaceProfile or HCL options
func ResolveTargets ¶
func ResolveTargets[T modconfig.ModTreeItem](cmdArgs []string, w *pworkspace.PowerpipeWorkspace) ([]modconfig.ModTreeItem, error)
TODO once we remove DetectionBenchmarks this should return []T https://github.com/turbot/powerpipe/issues/609
func SetAppSpecificConstants ¶
func SetAppSpecificConstants()
SetAppSpecificConstants sets app specific constants defined in pipe-fittings
func ToModTreeItemSlice ¶
func ToModTreeItemSlice[T modconfig.ModTreeItem](items []T) []modconfig.ModTreeItem
func ValidateDatabaseArg ¶ added in v1.0.0
func ValidateDatabaseArg() error
ValidateDatabaseArg checks if the database arg is a connection reference and resolves it if so
func ValidateSnapshotArgs ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.