public interface Watcher extends Named
Modifier and Type | Method and Description |
---|---|
boolean |
isApplicable(List<io.fabric8.maven.docker.config.ImageConfiguration> configs,
Set<io.fabric8.kubernetes.api.model.HasMetadata> resources,
PlatformMode mode)
Check whether this watcher should kick in.
|
void |
watch(List<io.fabric8.maven.docker.config.ImageConfiguration> configs,
Set<io.fabric8.kubernetes.api.model.HasMetadata> resources,
PlatformMode mode)
Watch the resources and kick a rebuild when they change.
|
boolean isApplicable(List<io.fabric8.maven.docker.config.ImageConfiguration> configs, Set<io.fabric8.kubernetes.api.model.HasMetadata> resources, PlatformMode mode)
configs
- all image configurationsvoid watch(List<io.fabric8.maven.docker.config.ImageConfiguration> configs, Set<io.fabric8.kubernetes.api.model.HasMetadata> resources, PlatformMode mode) throws Exception
configs
- all image configurationsException
Copyright © 2020. All rights reserved.