statefiles

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Overview

Package statefiles provide the drift detection on Terraform statefile functionality for Guardian.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EmptyStateFiles added in v1.0.7

func EmptyStateFiles(ctx context.Context, parser parser.Terraform, gcsURIs []string) ([]string, error)

func Set

func Set(values []string) map[string]struct{}

func StatefileUrisFromEntrypoints added in v1.0.7

func StatefileUrisFromEntrypoints(ctx context.Context, entrypoints []string) ([]string, error)

Types

type DriftStatefilesCommand

type DriftStatefilesCommand struct {
	cli.BaseCommand

	flags.GitHubFlags
	flags.RetryFlags
	flags.CommonFlags
	driftflags.DriftIssueFlags
	// contains filtered or unexported fields
}

func (*DriftStatefilesCommand) Desc

func (c *DriftStatefilesCommand) Desc() string

func (*DriftStatefilesCommand) Flags

func (c *DriftStatefilesCommand) Flags() *cli.FlagSet

func (*DriftStatefilesCommand) Help

func (c *DriftStatefilesCommand) Help() string

func (*DriftStatefilesCommand) Process

func (c *DriftStatefilesCommand) Process(ctx context.Context) error

Process handles the main logic for the Guardian init process.

func (*DriftStatefilesCommand) Run

func (c *DriftStatefilesCommand) Run(ctx context.Context, args []string) error

Jump to

Keyboard shortcuts

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