shared

package
v0.0.0-...-8ba7c20 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: Apache-2.0 Imports: 10 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const Name = "shared-leftovers"

Name selects this workflow with --workflow and prefixes its options.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, opts RunOptions) error

Run executes the shared-leftovers workflow.

Types

type RunOptions

type RunOptions struct {
	SubscriptionID  string
	AzureCredential azcore.TokenCredential
	// GraphCredential is used exclusively for Microsoft Graph directory reads.
	// When nil it defaults to AzureCredential.
	GraphCredential azcore.TokenCredential

	DryRun      bool
	Wait        bool
	Parallelism int
}

RunOptions configures shared-leftovers workflow execution.

type Workflow

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

Workflow is the shared-leftovers cleanup workflow as seen by the command.

func New

func New() *Workflow

New returns a shared-leftovers workflow with default options.

func (*Workflow) AttachOptions

func (w *Workflow) AttachOptions(flags *pflag.FlagSet)

func (*Workflow) LogValues

func (w *Workflow) LogValues() []any

func (*Workflow) Name

func (w *Workflow) Name() string

func (*Workflow) Run

func (w *Workflow) Run(ctx context.Context, common workflow.Common, credential azcore.TokenCredential) error

func (*Workflow) Validate

func (w *Workflow) Validate(workflow.Common) error

Jump to

Keyboard shortcuts

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