Documentation
¶
Index ¶
- func ResumeRollout(ctx context.Context, cli client.Client, app *v1beta1.Application, ...) (bool, error)
- func RollbackRollout(ctx context.Context, cli client.Client, app *v1beta1.Application, ...) (bool, error)
- func SuspendRollout(ctx context.Context, cli client.Client, app *v1beta1.Application, ...) error
- type ClusterRollout
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
Click to show internal directories.
Click to hide internal directories.