trigger

package
v0.14.4 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2025 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package trigger provides the trigger command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilterSpec

type FilterSpec struct {
	WorkingDir    string
	Engine        *engine.Engine
	Printers      printer.Printers
	GitFilter     engine.GitFilter
	StatusFilters StatusFilters
	Change        bool
	IgnoreChange  bool
	Reason        string
}

FilterSpec represents the trigger filter specification.

func (*FilterSpec) Exec

func (s *FilterSpec) Exec(_ context.Context) error

Exec executes the trigger command.

func (*FilterSpec) Name

func (s *FilterSpec) Name() string

Name returns the name of the filter.

type PathSpec

type PathSpec struct {
	WorkingDir   string
	Printers     printer.Printers
	Engine       *engine.Engine
	Path         string
	Change       bool
	IgnoreChange bool
	Reason       string
	Recursive    bool
}

PathSpec represents the trigger specification for when you trigger an specific path.

func (*PathSpec) Exec

func (s *PathSpec) Exec(_ context.Context) error

Exec executes the trigger command.

func (*PathSpec) Name

func (s *PathSpec) Name() string

Name returns the name of the filter.

type StatusFilters

type StatusFilters struct {
	StackStatus      string
	DeploymentStatus string
	DriftStatus      string
}

StatusFilters represents the status filters for stacks.

Jump to

Keyboard shortcuts

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