Package io.fabric8.jenkins.openshiftsync
Class SecretInformer
- java.lang.Object
-
- io.fabric8.jenkins.openshiftsync.SecretInformer
-
- All Implemented Interfaces:
Lifecyclable
,Resyncable
,io.fabric8.kubernetes.client.informers.ResourceEventHandler<io.fabric8.kubernetes.api.model.Secret>
public class SecretInformer extends Object implements io.fabric8.kubernetes.client.informers.ResourceEventHandler<io.fabric8.kubernetes.api.model.Secret>, Lifecyclable, Resyncable
-
-
Constructor Summary
Constructors Constructor Description SecretInformer(String namespace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
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
-
SecretInformer
public SecretInformer(String namespace)
-
-
Method Detail
-
getResyncPeriodMilliseconds
public long getResyncPeriodMilliseconds()
- Specified by:
getResyncPeriodMilliseconds
in interfaceResyncable
-
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>
-
-