oidcdelete

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(ctx context.Context, opts DeleteOptions) error

Delete confirms and destroys OpenTofu/Terraform-managed OIDC resources.

Types

type ConfirmFunc

type ConfirmFunc func(message string) (bool, error)

ConfirmFunc asks the user to confirm a destructive action.

type DeleteOptions

type DeleteOptions struct {
	StackDir       string
	Executor       Executor
	AutoApprove    bool
	Confirm        ConfirmFunc
	DestroyTimeout time.Duration
}

type Executor

type Executor interface {
	Destroy(ctx context.Context, dir string, autoApprove bool) error
}

Executor destroys OpenTofu/Terraform-managed OIDC resources.

Jump to

Keyboard shortcuts

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