update

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package update provides the Terraform dependency version checker and updater 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[*updateengine.UpdateConfig]
	// contains filtered or unexported fields
}

Plugin is the dependency version checker and updater plugin.

func (*Plugin) BuildInitConfig

func (p *Plugin) BuildInitConfig(state *plugin.StateMap) *plugin.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 update plugin.

func (*Plugin) InitGroups

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

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

func (*Plugin) Initialize

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

Initialize sets up the registry client.

func (*Plugin) PipelineContribution

func (p *Plugin) PipelineContribution() *pipeline.Contribution

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

func (*Plugin) Reset

func (p *Plugin) Reset()

Reset resets all plugin state.

Directories

Path Synopsis
Package updateengine provides the core logic for Terraform dependency version checking and updating.
Package updateengine provides the core logic for Terraform dependency version checking and updating.

Jump to

Keyboard shortcuts

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