Documentation ¶
Index ¶
- Constants
- func SplitYAMLToString(yamlData []byte) ([]string, error)
- type ISBServiceRolloutReconciler
- func (r *ISBServiceRolloutReconciler) ErrorHandler(isbServiceRollout *apiv1.ISBServiceRollout, err error, reason, msg string)
- func (r *ISBServiceRolloutReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *ISBServiceRolloutReconciler) SetupWithManager(mgr ctrl.Manager) error
- type MonoVertexRolloutReconciler
- func (r *MonoVertexRolloutReconciler) ErrorHandler(monoVertexRollout *apiv1.MonoVertexRollout, err error, reason, msg string)
- func (r *MonoVertexRolloutReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *MonoVertexRolloutReconciler) SetupWithManager(mgr ctrl.Manager) error
- type NumaflowControllerRolloutReconciler
- func (r *NumaflowControllerRolloutReconciler) ErrorHandler(numaflowControllerRollout *apiv1.NumaflowControllerRollout, err error, ...)
- func (r *NumaflowControllerRolloutReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *NumaflowControllerRolloutReconciler) SetupWithManager(mgr ctrl.Manager) error
- type PauseModule
- type PauseRequester
- type PipelineRolloutReconciler
- func (r *PipelineRolloutReconciler) ErrorHandler(pipelineRollout *apiv1.PipelineRollout, err error, reason, msg string)
- func (r *PipelineRolloutReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *PipelineRolloutReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *PipelineRolloutReconciler) Shutdown(ctx context.Context)
- type PipelineSpec
Constants ¶
const ( ControllerNumaflowControllerRollout = "numaflow-controller-rollout-controller" NumaflowControllerDeploymentName = "numaflow-controller" DefaultNumaflowControllerImageName = "numaflow" )
const (
ControllerISBSVCRollout = "isbsvc-rollout-controller"
)
const (
ControllerMonoVertexRollout = "monovertex-rollout-controller"
)
const (
ControllerPipelineRollout = "pipeline-rollout-controller"
)
Variables ¶
This section is empty.
Functions ¶
func SplitYAMLToString ¶
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 ¶
func (r *ISBServiceRolloutReconciler) 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.
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
func (r *MonoVertexRolloutReconciler) 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.
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 ¶
func (r *NumaflowControllerRolloutReconciler) 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.
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 ¶
func (r *PipelineRolloutReconciler) 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.
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