Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSnapshot ¶
func CreateSnapshot(ctx context.Context, stackDeployer *swarm.StackDeployer) *swarm.StackSnapshot
createSnapshot creates a snapshot of current stack state before deployment
func Rollback ¶
func Rollback(ctx context.Context, stackDeployer *swarm.StackDeployer, snapshot *swarm.StackSnapshot)
rollback restores the stack to a previous snapshot state
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.