flux

package
v0.6.1 Latest Latest
Warning

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

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

Documentation

Overview

Package flux executes safe, reversible Flux operations (suspend / resume / reconcile) on the cluster — the executable half of the autonomy ladder. It is only ever invoked after explicit human approval (config.actions mode "approve").

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

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

Executor runs reversible Flux operations via the dynamic client.

func New

func New(client dynamic.Interface) *Executor

New builds an Executor backed by a dynamic client.

func (*Executor) Execute

func (e *Executor) Execute(ctx context.Context, a providers.Action) error

Execute applies the action's reversible Flux operation to its target.

Jump to

Keyboard shortcuts

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