Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchesLabel ¶
func MatchesLabel(k, v string) containers.Option[Trigger]
MatchesLabel sets a match condition which matches any phase with the provided label
func MatchesPhase ¶
func MatchesPhase(c core.Phase) containers.Option[Trigger]
MatchesPhase sets a match condition which matches a specific phase
func WithInterval ¶
func WithInterval(d time.Duration) containers.Option[Trigger]
WithInterval sets the interval on a schedule
Types ¶
type Trigger ¶
type Trigger struct {
// contains filtered or unexported fields
}
Trigger is an implementation of a glu.Trigger which runs promotions on a scheduled interval.
Click to show internal directories.
Click to hide internal directories.