controller

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: Apache-2.0 Imports: 50 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerNumaflowControllerRollout = "numaflow-controller-rollout-controller"
	NumaflowControllerDeploymentName    = "numaflow-controller"
	DefaultNumaflowControllerImageName  = "numaflow"
)
View Source
const (
	ControllerISBSVCRollout = "isbsvc-rollout-controller"
)
View Source
const (
	ControllerMonoVertexRollout = "monovertex-rollout-controller"
)
View Source
const (
	ControllerPipelineRollout = "pipeline-rollout-controller"
)

Variables

This section is empty.

Functions

func SplitYAMLToString

func SplitYAMLToString(yamlData []byte) ([]string, error)

SplitYAMLToString splits a YAML file into strings. Returns list of yamls found in the yaml. If an error occurs, returns objects that have been parsed so far too.

Types

type ISBServiceRolloutReconciler

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

ISBServiceRolloutReconciler reconciles an ISBServiceRollout object

func NewISBServiceRolloutReconciler

func NewISBServiceRolloutReconciler(
	client client.Client,
	s *runtime.Scheme,
	restConfig *rest.Config,
	customMetrics *metrics.CustomMetrics,
	recorder record.EventRecorder,
) *ISBServiceRolloutReconciler

func (*ISBServiceRolloutReconciler) ErrorHandler added in v0.4.0

func (r *ISBServiceRolloutReconciler) ErrorHandler(isbServiceRollout *apiv1.ISBServiceRollout, err error, reason, msg string)

func (*ISBServiceRolloutReconciler) 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 (*ISBServiceRolloutReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type MonoVertexRolloutReconciler added in v0.5.0

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

MonoVertexRolloutReconciler reconciles a MonoVertexRollout object

func NewMonoVertexRolloutReconciler added in v0.5.0

func NewMonoVertexRolloutReconciler(
	client client.Client,
	s *runtime.Scheme,
	restConfig *rest.Config,
	customMetrics *metrics.CustomMetrics,
	recorder record.EventRecorder,
) *MonoVertexRolloutReconciler

func (*MonoVertexRolloutReconciler) ErrorHandler added in v0.5.0

func (r *MonoVertexRolloutReconciler) ErrorHandler(monoVertexRollout *apiv1.MonoVertexRollout, err error, reason, msg string)

func (*MonoVertexRolloutReconciler) Reconcile added in v0.5.0

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 (*MonoVertexRolloutReconciler) SetupWithManager added in v0.5.0

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

SetupWithManager sets up the controller with the Manager.

type NumaflowControllerRolloutReconciler

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

NumaflowControllerRolloutReconciler reconciles a NumaflowControllerRollout object

func NewNumaflowControllerRolloutReconciler

func NewNumaflowControllerRolloutReconciler(
	client client.Client,
	s *runtime.Scheme,
	rawConfig *rest.Config,
	kubectl kubeUtil.Kubectl,
	customMetrics *metrics.CustomMetrics,
	recorder record.EventRecorder,
) (*NumaflowControllerRolloutReconciler, error)

func (*NumaflowControllerRolloutReconciler) ErrorHandler added in v0.4.0

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

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.

type PauseModule added in v0.4.0

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

func GetPauseModule added in v0.4.0

func GetPauseModule() *PauseModule

type PauseRequester added in v0.4.0

type PauseRequester interface {
	// contains filtered or unexported methods
}

PauseRequester interface manages the safe update of Rollouts by requesting Pipelines to pause

type PipelineRolloutReconciler

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

PipelineRolloutReconciler reconciles a PipelineRollout object

func NewPipelineRolloutReconciler

func NewPipelineRolloutReconciler(
	c client.Client,
	s *runtime.Scheme,
	restConfig *rest.Config,
	customMetrics *metrics.CustomMetrics,
	recorder record.EventRecorder,
) *PipelineRolloutReconciler

func (*PipelineRolloutReconciler) ErrorHandler added in v0.4.0

func (r *PipelineRolloutReconciler) ErrorHandler(pipelineRollout *apiv1.PipelineRollout, err error, reason, msg string)

func (*PipelineRolloutReconciler) 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 (*PipelineRolloutReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

func (*PipelineRolloutReconciler) Shutdown added in v0.2.0

func (r *PipelineRolloutReconciler) Shutdown(ctx context.Context)

type PipelineSpec added in v0.4.0

type PipelineSpec struct {
	InterStepBufferServiceName string    `json:"interStepBufferServiceName"`
	Lifecycle                  lifecycle `json:"lifecycle,omitempty"`
}

PipelineSpec keep track of minimum number of fields we need to know about

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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