Documentation ¶
Overview ¶
Package rollout contains the rollout commands for the BindPlane CLI.
Index ¶
- func Command(builder Builder) *cobra.Command
- func PauseCommand(builder Builder) *cobra.Command
- func ResumeCommand(builder Builder) *cobra.Command
- func StartCommand(builder Builder) *cobra.Command
- func StatusCommand(builder Builder) *cobra.Command
- func UpdateCommand(builder Builder) *cobra.Command
- type Builder
- type Rollouter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PauseCommand ¶
PauseCommand the pause command pauses the rollout
func ResumeCommand ¶
ResumeCommand the resume command resumes a paused rollout
func StartCommand ¶
StartCommand the start command starts a rollout
func StatusCommand ¶
StatusCommand the status command retrieves the status of a rollout
func UpdateCommand ¶
UpdateCommand the update command runs one cycle of a rollout
Types ¶
type Rollouter ¶
type Rollouter interface { // PauseRollout pauses the rollout with rolloutName PauseRollout(ctx context.Context, rolloutName string) error // ResumeRollout resumes the rollout with rolloutName ResumeRollout(ctx context.Context, rolloutName string) error // RolloutStatus prints the status of the rollout with rolloutName RolloutStatus(ctx context.Context, rolloutName string) error // StartRollout starts the rollout with rolloutName StartRollout(ctx context.Context, rolloutName string) error // StartAllRollouts starts a rollout on all configurations StartAllRollouts(ctx context.Context) error // UpdateRollout updates a single rollout with rolloutName UpdateRollout(ctx context.Context, rolloutName string) error // UpdateRollouts updates all rollouts UpdateRollouts(ctx context.Context) error }
Rollouter is an interface for managing rollouts
Click to show internal directories.
Click to hide internal directories.