-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Deleter Dependent and Cleanup Post Condition
Signed-off-by: csviri <csviri@gmail.com>
- Loading branch information
Showing
3 changed files
with
36 additions
and
8 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
src/main/java/io/csviri/operator/resourceflow/dependent/GCGenericDependentResource.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package io.csviri.operator.resourceflow.dependent; | ||
|
||
import io.csviri.operator.resourceflow.customresource.resourceflow.ResourceFlow; | ||
import io.fabric8.kubernetes.api.model.GenericKubernetesResource; | ||
import io.javaoperatorsdk.operator.api.reconciler.dependent.GarbageCollected; | ||
|
||
public class GCGenericDependentResource extends GenericDependentResource | ||
implements GarbageCollected<ResourceFlow> { | ||
|
||
public GCGenericDependentResource(GenericKubernetesResource desired, String name) { | ||
super(desired, name); | ||
} | ||
|
||
public GCGenericDependentResource(String desiredTemplate, String name) { | ||
super(desiredTemplate, name); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters