rollout

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2025 License: Apache-2.0 Imports: 47 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerName = "rollout"
)

Variables

This section is empty.

Functions

func GetWatchableWorkloads added in v0.1.3

func GetWatchableWorkloads(r registry.WorkloadRegistry, logger logr.Logger, c client.Client, cfg *rest.Config) []workload.Accessor

func InitFunc

func InitFunc(mgr manager.Manager) (bool, error)

Types

type RolloutReconciler

type RolloutReconciler struct {
	*mixin.ReconcilerMixin
	// contains filtered or unexported fields
}

RolloutReconciler reconciles a Rollout object

func NewReconciler

func NewReconciler(mgr manager.Manager, workloadRegistry registry.WorkloadRegistry) *RolloutReconciler

func (*RolloutReconciler) Reconcile

func (r *RolloutReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*RolloutReconciler) SetupWithManager

func (r *RolloutReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type RolloutRunByCreationTimestamp added in v0.1.3

type RolloutRunByCreationTimestamp []*rolloutv1alpha1.RolloutRun

RolloutRunByCreationTimestamp sorts a list of RolloutRun by creationTimestamp.

func (RolloutRunByCreationTimestamp) Len added in v0.1.3

func (RolloutRunByCreationTimestamp) Less added in v0.1.3

func (o RolloutRunByCreationTimestamp) Less(i, j int) bool

func (RolloutRunByCreationTimestamp) Swap added in v0.1.3

func (o RolloutRunByCreationTimestamp) Swap(i, j int)

Jump to

Keyboard shortcuts

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