trigger

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 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 {
	GitFilter     engine.GitFilter
	StatusFilters StatusFilters
	Tags          []string
	NoTags        []string
	Change        bool
	IgnoreChange  bool
	Reason        string
	// contains filtered or unexported fields
}

FilterSpec represents the trigger filter specification.

func (*FilterSpec) Exec

func (s *FilterSpec) Exec(ctx context.Context, cli commands.CLI) error

Exec executes the trigger command.

func (*FilterSpec) Name

func (s *FilterSpec) Name() string

Name returns the name of the filter.

func (*FilterSpec) Requirements added in v0.15.0

func (s *FilterSpec) Requirements(context.Context, commands.CLI) any

Requirements returns the requirements of the command.

type PathSpec

type PathSpec struct {
	Path         string
	Change       bool
	IgnoreChange bool
	Tags         []string
	NoTags       []string
	Reason       string
	Recursive    bool
	// contains filtered or unexported fields
}

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

func (*PathSpec) Exec

func (s *PathSpec) Exec(_ context.Context, cli commands.CLI) error

Exec executes the trigger command.

func (*PathSpec) Name

func (s *PathSpec) Name() string

Name returns the name of the filter.

func (*PathSpec) Requirements added in v0.15.0

func (s *PathSpec) Requirements(context.Context, commands.CLI) any

Requirements returns the requirements of the command.

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