rollout

package
v1.7.0-beta.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResumeRollout

func ResumeRollout(ctx context.Context, cli client.Client, app *v1beta1.Application, writer io.Writer) (bool, error)

ResumeRollout find all rollouts associated with the application (in the current RT) and resume them

func RollbackRollout

func RollbackRollout(ctx context.Context, cli client.Client, app *v1beta1.Application, writer io.Writer) (bool, error)

RollbackRollout find all rollouts associated with the application (in the current RT) and disable the pause field.

func SuspendRollout

func SuspendRollout(ctx context.Context, cli client.Client, app *v1beta1.Application, writer io.Writer) error

SuspendRollout find all rollouts associated with the application (including history RTs) and resume them

Types

type ClusterRollout

type ClusterRollout struct {
	*kruisev1alpha1.Rollout
	Cluster string
}

ClusterRollout rollout in specified cluster

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL