init

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(svc sdk.Service) sdk.Plugin

New creates a new init plugin.

Types

type InitResultMsg added in v1.5.0

type InitResultMsg struct {
	Err      error
	Duration time.Duration
}

InitResultMsg is sent when the init operation completes.

type Plugin

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

Plugin implements the terraform init feature.

func (*Plugin) Activate

func (p *Plugin) Activate() tea.Cmd

func (*Plugin) ActivateWithArgs added in v1.7.0

func (p *Plugin) ActivateWithArgs(args []string) tea.Cmd

func (*Plugin) Busy added in v1.5.0

func (p *Plugin) Busy() bool

func (*Plugin) Cancel added in v1.5.0

func (p *Plugin) Cancel()

Cancel aborts any in-flight terraform operation.

func (*Plugin) Configure

func (p *Plugin) Configure(_ map[string]interface{}) error

func (*Plugin) Description

func (p *Plugin) Description() string

func (*Plugin) HandleChdirChanged added in v1.5.0

func (p *Plugin) HandleChdirChanged(evt sdk.ChdirChangedEvent) tea.Cmd

func (*Plugin) ID

func (p *Plugin) ID() string

func (*Plugin) Init

func (p *Plugin) Init(ctx *sdk.Context) tea.Cmd

func (*Plugin) Name

func (p *Plugin) Name() string

func (*Plugin) Output added in v1.5.0

func (p *Plugin) Output(_ bool) ([]byte, error)

Output produces stdout content for standalone/CI mode.

func (*Plugin) Ready

func (p *Plugin) Ready() bool

func (*Plugin) Stack added in v1.5.0

func (p *Plugin) Stack() *sdk.Stack

func (*Plugin) Update

func (p *Plugin) Update(msg tea.Msg) (sdk.Plugin, tea.Cmd)

func (*Plugin) View

func (p *Plugin) View(width, height int) string

Jump to

Keyboard shortcuts

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