Documentation
¶
Overview ¶
Package tfupdate provides the Terraform dependency resolver and lock sync plugin for TerraCi.
Index ¶
- type Plugin
- func (p *Plugin) BuildInitConfig(state *initwiz.StateMap) *initwiz.InitContribution
- func (p *Plugin) Commands(ctx *plugin.AppContext) []*cobra.Command
- func (p *Plugin) InitGroups() []*initwiz.InitGroupSpec
- func (p *Plugin) PipelineContribution(ctx *plugin.AppContext) *pipeline.Contribution
- func (p *Plugin) Preflight(_ context.Context, _ *plugin.AppContext) error
- func (p *Plugin) Reset()
- func (p *Plugin) Runtime(ctx context.Context, appCtx *plugin.AppContext) (any, error)
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.
Source Files
¶
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. |
Click to show internal directories.
Click to hide internal directories.