Documentation ¶ Index ¶ func NewPromotion(stage kargoapi.Stage, freight string) kargoapi.Promotion Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewPromotion ¶ func NewPromotion(stage kargoapi.Stage, freight string) kargoapi.Promotion NewPromotion returns a new Promotion from a given stage and freight with our naming convention. Ensures the owner reference is set to be the stage, and carries over any shard labels Types ¶ This section is empty. Source Files ¶ View all Source files kargo.go Click to show internal directories. Click to hide internal directories.