pkg

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DriftCTL

type DriftCTL struct {
	// contains filtered or unexported fields
}

func NewDriftCTL

func NewDriftCTL(remoteSupplier resource.Supplier,
	iacSupplier dctlresource.IaCSupplier,
	alerter *alerter.Alerter,
	analyzer *analyser.Analyzer,
	resFactory resource.ResourceFactory,
	opts *ScanOptions,
	scanProgress globaloutput.Progress,
	iacProgress globaloutput.Progress,
	resourceSchemaRepository dctlresource.SchemaRepositoryInterface,
	store memstore.Store) *DriftCTL

func (DriftCTL) Run

func (d DriftCTL) Run() (*analyser.Analysis, error)

func (DriftCTL) Stop

func (d DriftCTL) Stop()

type FmtOptions added in v0.23.0

type FmtOptions struct {
	Output output.OutputConfig
}

type ScanOptions

type ScanOptions struct {
	Coverage         bool
	Detect           bool
	From             []config.SupplierConfig
	To               string
	Output           []output.OutputConfig
	Filter           *jmespath.JMESPath
	Quiet            bool
	BackendOptions   *backend.Options
	StrictMode       bool
	DisableTelemetry bool
	ProviderVersion  string
	ConfigDir        string
	DriftignorePath  string
	Driftignores     []string
	Deep             bool
	OnlyManaged      bool
	OnlyUnmanaged    bool
}

Jump to

Keyboard shortcuts

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