mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-01-05 15:03:12 +00:00
28 lines
639 B
C#
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)
|
|
{
|
|
}
|
|
}
|
|
}
|