2
0
mirror of synced 2025-01-27 08:46:04 +00:00
2023-11-12 10:07:23 +01:00

28 lines
695 B
C#

using KubernetesWorkflow.Recipe;
using KubernetesWorkflow.Types;
namespace KubernetesWorkflow
{
public interface IK8sHooks
{
void OnContainersStarted(RunningContainers runningContainers);
void OnContainersStopped(RunningContainers runningContainers);
void OnContainerRecipeCreated(ContainerRecipe recipe);
}
public class DoNothingK8sHooks : IK8sHooks
{
public void OnContainersStarted(RunningContainers runningContainers)
{
}
public void OnContainersStopped(RunningContainers runningContainers)
{
}
public void OnContainerRecipeCreated(ContainerRecipe recipe)
{
}
}
}