planning

package
v1.12.2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: MPL-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Package planning implements a planning engine for Ghoten, which takes a prior state and a configuration instance (which can be evaluated to produce a desired state) and proposes a set of changes to make to bring the remote system closer to convergence with the desired state.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PlanChanges

func PlanChanges(ctx context.Context, prevRoundState *states.State, configInst *eval.ConfigInstance, providers plugins.Providers) (*plans.Plan, tfdiags.Diagnostics)

PlanChanges is the main entry point, taking a state snapshot from the end of the previous plan/apply round and an instantiated configuration (bound to some input variable definitions) and returning a plan containing a set of proposed actions.

Types

This section is empty.

Jump to

Keyboard shortcuts

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