| Package | Description |
|---|---|
| io.alauda.devops.java.client.extend.controller | |
| io.alauda.devops.java.client.extend.controller.builder | |
| io.alauda.devops.java.client.extend.controller.reconciler |
| Modifier and Type | Method and Description |
|---|---|
static <ApiType> Function<ApiType,Request> |
Controllers.defaultReflectiveKeyFunc()
The Default key func function works for work-queue, which extracts namespace and name via
reflection from the objects.
|
| Constructor and Description |
|---|
DefaultController(Reconciler reconciler,
RateLimitingQueue<Request> workQueue,
Supplier<Boolean>... readyFuncs)
Instantiates a new Default controller.
|
DefaultControllerWatch(Class<ApiType> apiTypeClass,
WorkQueue<Request> workQueue,
Function<ApiType,Request> workKeyGenerator)
Instantiates a new Work queue resource event handler.
|
DefaultControllerWatch(Class<ApiType> apiTypeClass,
WorkQueue<Request> workQueue,
Function<ApiType,Request> workKeyGenerator)
Instantiates a new Work queue resource event handler.
|
| Modifier and Type | Method and Description |
|---|---|
DefaultControllerBuilder |
DefaultControllerBuilder.withWorkQueue(RateLimitingQueue<Request> workQueue)
Overrides workQueue for the controller.
|
ControllerWatchBuilder<ApiType> |
ControllerWatchBuilder.withWorkQueue(WorkQueue<Request> workQueue) |
ControllerWatchBuilder<ApiType> |
ControllerWatchBuilder.withWorkQueueKeyFunc(Function<ApiType,Request> workKeyGenerator)
Overrides work-queue key-func for the watch.
|
| Modifier and Type | Method and Description |
|---|---|
Result |
Reconciler.reconcile(Request request)
Reconcile result.
|
Copyright © 2019. All rights reserved.