Documentation ¶
Index ¶
- Constants
- func LookupReconcileTime() time.Duration
- type DruidIngestionReconciler
- func (r *DruidIngestionReconciler) CreateOrUpdate(di *v1alpha1.DruidIngestion, svcName string, build builder.Builder, ...) (controllerutil.OperationResult, error)
- func (r *DruidIngestionReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *DruidIngestionReconciler) SetupWithManager(mgr ctrl.Manager) error
- type TransformStatusFunc
- type VerbType
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" )
View Source
const ( OperatorUserName = "OperatorUserName" OperatorPassword = "OperatorPassword" )
View Source
const (
DruidRouterPort = "8088"
)
Variables ¶
This section is empty.
Functions ¶
func LookupReconcileTime ¶
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 (r *DruidIngestionReconciler) CreateOrUpdate( di *v1alpha1.DruidIngestion, svcName string, build builder.Builder, auth internalhttp.Auth, ) (controllerutil.OperationResult, error)
func (*DruidIngestionReconciler) Reconcile ¶
func (r *DruidIngestionReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
+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
Click to show internal directories.
Click to hide internal directories.