cmdconfig

package
v1.2.0-alpha.202501161348 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2025 License: AGPL-3.0 Imports: 41 Imported by: 0

Documentation

Index

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 IsLocal

func IsLocal() bool

func ResolveTargets

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

func ValidateSnapshotArgs(ctx context.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL