summary

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package summary provides the summary plugin for TerraCi. It registers a pipeline contributor (PhaseFinalize) and the `terraci summary` command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Enabled        *bool    `yaml:"enabled,omitempty" json:"enabled,omitempty"`
	OnChangesOnly  bool     `yaml:"on_changes_only,omitempty" json:"on_changes_only,omitempty"`
	IncludeDetails bool     `yaml:"include_details,omitempty" json:"include_details,omitempty"`
	Labels         []string `yaml:"labels,omitempty" json:"labels,omitempty"`
}

Config holds summary plugin settings.

type Plugin

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

Plugin is the summary plugin.

func (*Plugin) BuildInitConfig

func (p *Plugin) BuildInitConfig(state plugin.InitState) *plugin.InitContribution

BuildInitConfig builds the summary plugin config from wizard state.

func (*Plugin) Commands

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

Commands returns the `terraci summary` command.

func (*Plugin) ConfigKey

func (p *Plugin) ConfigKey() string

func (*Plugin) Description

func (p *Plugin) Description() string

func (*Plugin) InitGroup

func (p *Plugin) InitGroup() *plugin.InitGroupSpec

InitGroup returns the summary plugin's form group for the init wizard.

func (*Plugin) IsConfigured

func (p *Plugin) IsConfigured() bool

func (*Plugin) Name

func (p *Plugin) Name() string

func (*Plugin) NewConfig

func (p *Plugin) NewConfig() any

func (*Plugin) PipelineContribution

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

PipelineContribution returns the summary job contribution.

func (*Plugin) SetConfig

func (p *Plugin) SetConfig(cfg any) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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