tfupdate

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2026 License: MIT Imports: 25 Imported by: 0

Documentation

Overview

Package tfupdate provides the Terraform dependency resolver and lock sync plugin for TerraCi.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
	plugin.BasePlugin[*tfupdateengine.UpdateConfig]
	// contains filtered or unexported fields
}

Plugin is the Terraform dependency resolver plugin.

func (*Plugin) BuildInitConfig

func (p *Plugin) BuildInitConfig(state *initwiz.StateMap) *initwiz.InitContribution

BuildInitConfig builds the update init contribution.

func (*Plugin) Commands

func (p *Plugin) Commands(ctx *plugin.AppContext) []*cobra.Command

Commands returns the CLI commands provided by the tfupdate plugin.

func (*Plugin) InitGroups

func (p *Plugin) InitGroups() []*initwiz.InitGroupSpec

InitGroups returns the init wizard group specs for the update initwiz.

func (*Plugin) PipelineContribution

func (p *Plugin) PipelineContribution(ctx *plugin.AppContext) *pipeline.Contribution

PipelineContribution adds a dependency update check job to the CI pipeline. Only contributes when pipeline: true is set in config.

func (*Plugin) Preflight

func (p *Plugin) Preflight(_ context.Context, _ *plugin.AppContext) error

Preflight validates tfupdate plugin configuration.

func (*Plugin) Reset

func (p *Plugin) Reset()

Reset resets all plugin state.

func (*Plugin) Runtime

func (p *Plugin) Runtime(ctx context.Context, appCtx *plugin.AppContext) (any, error)

Directories

Path Synopsis
Package tfupdateengine provides the core logic for Terraform dependency resolution and lock synchronization.
Package tfupdateengine provides the core logic for Terraform dependency resolution and lock synchronization.

Jump to

Keyboard shortcuts

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