Package io.fabric8.jenkins.openshiftsync
Class SecretClusterInformer
- java.lang.Object
-
- io.fabric8.jenkins.openshiftsync.SecretClusterInformer
-
- All Implemented Interfaces:
Lifecyclable
,io.fabric8.kubernetes.client.informers.ResourceEventHandler<io.fabric8.kubernetes.api.model.Secret>
public class SecretClusterInformer extends Object implements io.fabric8.kubernetes.client.informers.ResourceEventHandler<io.fabric8.kubernetes.api.model.Secret>, Lifecyclable
-
-
Constructor Summary
Constructors Constructor Description SecretClusterInformer(String[] namespaces)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getResyncPeriodMilliseconds()
void
onAdd(io.fabric8.kubernetes.api.model.Secret obj)
void
onDelete(io.fabric8.kubernetes.api.model.Secret obj, boolean deletedFinalStateUnknown)
void
onUpdate(io.fabric8.kubernetes.api.model.Secret oldObj, io.fabric8.kubernetes.api.model.Secret newObj)
void
start()
void
stop()
-
-
-
Constructor Detail
-
SecretClusterInformer
public SecretClusterInformer(String[] namespaces)
-
-
Method Detail
-
getResyncPeriodMilliseconds
public int getResyncPeriodMilliseconds()
-
start
public void start()
- Specified by:
start
in interfaceLifecyclable
-
stop
public void stop()
- Specified by:
stop
in interfaceLifecyclable
-
onAdd
public void onAdd(io.fabric8.kubernetes.api.model.Secret obj)
- Specified by:
onAdd
in interfaceio.fabric8.kubernetes.client.informers.ResourceEventHandler<io.fabric8.kubernetes.api.model.Secret>
-
onUpdate
public void onUpdate(io.fabric8.kubernetes.api.model.Secret oldObj, io.fabric8.kubernetes.api.model.Secret newObj)
- Specified by:
onUpdate
in interfaceio.fabric8.kubernetes.client.informers.ResourceEventHandler<io.fabric8.kubernetes.api.model.Secret>
-
onDelete
public void onDelete(io.fabric8.kubernetes.api.model.Secret obj, boolean deletedFinalStateUnknown)
- Specified by:
onDelete
in interfaceio.fabric8.kubernetes.client.informers.ResourceEventHandler<io.fabric8.kubernetes.api.model.Secret>
-
-