2
0
mirror of synced 2025-01-12 09:34:40 +00:00
2024-04-13 17:12:14 +03:00

28 lines
639 B
C#

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