Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PromotionEdge ¶
func Promotes ¶
func Promotes[R core.Resource](from Phase[R], to UpdatablePhase[R]) *PromotionEdge[R]
func (*PromotionEdge[R]) CanPerform ¶
func (s *PromotionEdge[R]) CanPerform(ctx context.Context) (bool, error)
func (*PromotionEdge[R]) From ¶
func (s *PromotionEdge[R]) From() core.Descriptor
func (*PromotionEdge[R]) Kind ¶
func (s *PromotionEdge[R]) Kind() string
func (*PromotionEdge[R]) Perform ¶
Perform causes a promotion from a dependent to a target phase. The phase fetches both its current resource state, and that of the promotion source phase. If the resources differ, then the phase updates its source to match the promoted version.
func (*PromotionEdge[R]) To ¶
func (s *PromotionEdge[R]) To() core.Descriptor
Click to show internal directories.
Click to hide internal directories.