Interface ControllerConfiguration
- All Known Implementing Classes:
ControllerConfigurationImpl
public interface ControllerConfiguration
The operator controller configuration.
- Since:
- 3.3
- Author:
- Pavol Gressa
-
Method Summary
Modifier and TypeMethodDescription@NonNull String
The api resource group the operator controller reconciles.@NonNull Class<? extends io.kubernetes.client.common.KubernetesListObject>
The api resource list type the operator controller reconciles.@NonNull Class<? extends io.kubernetes.client.common.KubernetesObject>
The api resource type the operator controller reconciles.@NonNull String
The operator's informer label selector.@NonNull String
getName()
The operator controller name.The namespaces from which the operator controller receives the resources for reconciliation.@Nullable Predicate<? extends io.kubernetes.client.common.KubernetesObject>
Predicate that filters added resources before reconciliation.@Nullable BiPredicate<? extends io.kubernetes.client.common.KubernetesObject,
Boolean> Predicate that filters deleted resources before reconciliation.@Nullable BiPredicate<? extends io.kubernetes.client.common.KubernetesObject,
? extends io.kubernetes.client.common.KubernetesObject> Predicate that filters updated resources before reconciliation.@NonNull String
The api resource plural the operator controller reconciles.@NonNull Long
How often to check if the listener need a resync.
-
Method Details
-
getName
The operator controller name. The name is used to uniquely identify the operator in the application context.- Returns:
- name
-
getApiType
The api resource type the operator controller reconciles.- Returns:
- api resource type
-
getApiListType
@NonNull @NonNull Class<? extends io.kubernetes.client.common.KubernetesListObject> getApiListType()The api resource list type the operator controller reconciles.- Returns:
- api resource list type
-
getResourcePlural
The api resource plural the operator controller reconciles.- Returns:
- api resource plural
-
getApiGroup
The api resource group the operator controller reconciles.- Returns:
- api group
-
getNamespaces
The namespaces from which the operator controller receives the resources for reconciliation.- Returns:
- namespaces
-
getLabelSelector
The operator's informer label selector.- Returns:
- label selector
- See Also:
-
getResyncCheckPeriod
How often to check if the listener need a resync.- Returns:
- resync check period, if 0L returned then default minimal resync interval is used
- See Also:
-
DefaultSharedIndexInformer
-
getOnAddFilter
@Nullable @Nullable Predicate<? extends io.kubernetes.client.common.KubernetesObject> getOnAddFilter()Predicate that filters added resources before reconciliation. DefaultDefaultAddFilter
.- Returns:
- predicate
-
getOnUpdateFilter
@Nullable @Nullable BiPredicate<? extends io.kubernetes.client.common.KubernetesObject,? extends io.kubernetes.client.common.KubernetesObject> getOnUpdateFilter()Predicate that filters updated resources before reconciliation. DefaultDefaultUpdateFilter
.- Returns:
- bipredicate
-
getOnDeleteFilter
@Nullable @Nullable BiPredicate<? extends io.kubernetes.client.common.KubernetesObject,Boolean> getOnDeleteFilter()Predicate that filters deleted resources before reconciliation. DefaultDefaultDeleteFilter
.- Returns:
- bipredicate
-