numaflowcontrollerrollout

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerNumaflowControllerRollout = "numaflow-controller-rollout-controller"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type NumaflowControllerRolloutReconciler

type NumaflowControllerRolloutReconciler struct {
	// contains filtered or unexported fields
}

NumaflowControllerRolloutReconciler reconciles a NumaflowControllerRollout object

func NewNumaflowControllerRolloutReconciler

func NewNumaflowControllerRolloutReconciler(
	cli client.Client,
	scheme *runtime.Scheme,
	customMetrics *metrics.CustomMetrics,
	recorder record.EventRecorder,
) *NumaflowControllerRolloutReconciler

func (*NumaflowControllerRolloutReconciler) ErrorHandler

func (r *NumaflowControllerRolloutReconciler) ErrorHandler(nfcRollout *apiv1.NumaflowControllerRollout, err error, reason, msg string)

func (*NumaflowControllerRolloutReconciler) GetChildTypeString

func (r *NumaflowControllerRolloutReconciler) GetChildTypeString() string

for the purpose of logging

func (*NumaflowControllerRolloutReconciler) GetPipelineList

func (r *NumaflowControllerRolloutReconciler) GetPipelineList(ctx context.Context, rolloutNamespace string, rolloutName string) (*unstructured.UnstructuredList, error)

func (*NumaflowControllerRolloutReconciler) GetRolloutKey

func (r *NumaflowControllerRolloutReconciler) GetRolloutKey(rolloutNamespace string, rolloutName string) string

func (*NumaflowControllerRolloutReconciler) MarkRolloutPaused

func (r *NumaflowControllerRolloutReconciler) MarkRolloutPaused(ctx context.Context, rollout client.Object, paused bool)

func (*NumaflowControllerRolloutReconciler) Reconcile

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

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.17.3/pkg/reconcile

func (*NumaflowControllerRolloutReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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