Class DiffMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
io.yupiik.bundlebee.maven.mojo.BaseMojo
io.yupiik.bundlebee.maven.generated.mojo.DiffMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
Diff an alveolus against a running cluster. The logic behind is to visit the configured alveolus and for each of its descriptor, query the cluster state and do a JSON-Diff between both. To avoid false positives, you will likely want to tune the ignored pointers which enable to drop dynamic data (managed by Kubernetes server). The diff output has two types of diff: * `JSON-Patch`: a JSON-Patch which, once applied on the actual state will bring up the state to the expected one, * `JSON`: means the Kubernetes server misses an alveolus descriptor and the expected one is fully printed The diff line syntax is: `diff --$alveolusName a/$expectedLocalDescriptor b/$remoteDescriptor`.
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext