ingestion

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DruidIngestionControllerCreateSuccess      = "DruidIngestionControllerCreateSuccess"
	DruidIngestionControllerCreateFail         = "DruidIngestionControllerCreateFail"
	DruidIngestionControllerGetSuccess         = "DruidIngestionControllerGetSuccess"
	DruidIngestionControllerGetFail            = "DruidIngestionControllerGetFail"
	DruidIngestionControllerUpdateSuccess      = "DruidIngestionControllerUpdateSuccess"
	DruidIngestionControllerUpdateFail         = "DruidIngestionControllerUpdateFail"
	DruidIngestionControllerShutDownSuccess    = "DruidIngestionControllerShutDownSuccess"
	DruidIngestionControllerShutDownFail       = "DruidIngestionControllerShutDownFail"
	DruidIngestionControllerPatchStatusSuccess = "DruidIngestionControllerPatchStatusSuccess"
	DruidIngestionControllerPatchStatusFail    = "DruidIngestionControllerPatchStatusFail"
	DruidIngestionControllerFinalizer          = "druidingestion.datainfra.io/finalizer"
)

Variables

This section is empty.

Functions

func LookupReconcileTime

func LookupReconcileTime() time.Duration

Types

type DruidIngestionReconciler

type DruidIngestionReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
	// reconcile time duration, defaults to 10s
	ReconcileWait time.Duration
	Recorder      record.EventRecorder
}

IngestionReconciler

func NewDruidIngestionReconciler

func NewDruidIngestionReconciler(mgr ctrl.Manager) *DruidIngestionReconciler

func (*DruidIngestionReconciler) CreateOrUpdate

func (*DruidIngestionReconciler) Reconcile

+kubebuilder:rbac:groups=druid.apache.org,resources=ingestions,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=druid.apache.org,resources=ingestion/status,verbs=get;update;patch

func (*DruidIngestionReconciler) SetupWithManager

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

func (*DruidIngestionReconciler) UpdateCompaction added in v1.3.0

func (r *DruidIngestionReconciler) UpdateCompaction(
	di *v1alpha1.DruidIngestion,
	svcName string,
	auth internalhttp.Auth,
) (bool, error)

UpdateCompaction updates the compaction settings for a Druid data source.

func (*DruidIngestionReconciler) UpdateRules added in v1.3.0

func (r *DruidIngestionReconciler) UpdateRules(
	di *v1alpha1.DruidIngestion,
	svcName string,
	auth internalhttp.Auth,
) (bool, error)

UpdateRules updates the rules for a Druid data source.

type TransformStatusFunc

type TransformStatusFunc func(obj client.Object) client.Object

type VerbType

type VerbType string
const (
	VerbPatched   VerbType = "Patched"
	VerbUnchanged VerbType = "Unchanged"
)

Jump to

Keyboard shortcuts

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