flinkapplication

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2020 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

Add creates a new FlinkApplication Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

Types

type FlinkHandlerInterface

type FlinkHandlerInterface interface {
	Handle(ctx context.Context, application *v1beta1.FlinkApplication) error
}

The core state machine that manages Flink clusters and jobs. See docs/state_machine.md for a description of the states and transitions.

func NewFlinkStateMachine

func NewFlinkStateMachine(k8sCluster k8.ClusterInterface, eventRecorder record.EventRecorder, config config.RuntimeConfig) FlinkHandlerInterface

type FlinkStateMachine

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

func (*FlinkStateMachine) Handle

func (s *FlinkStateMachine) Handle(ctx context.Context, application *v1beta1.FlinkApplication) error

func (*FlinkStateMachine) IsTimeToHandlePhase added in v0.1.3

func (s *FlinkStateMachine) IsTimeToHandlePhase(application *v1beta1.FlinkApplication, phase v1beta1.FlinkApplicationPhase) bool

type ReconcileFlinkApplication

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

ReconcileFlinkApplication reconciles a FlinkApplication resource

func (*ReconcileFlinkApplication) Reconcile

Jump to

Keyboard shortcuts

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