Versions in this module Expand all Collapse all v0 v0.0.1 May 10, 2026 Changes in this version + func Register(name string, f Factory) + type BasePlugin struct + func (BasePlugin) Name() string + func (BasePlugin) PreCreatePod(_ context.Context, _ *corev1.Pod, _ *agentsv1alpha1.SandboxPool) *domain.AppError + func (BasePlugin) PreCreatePool(_ context.Context, _ *agentsv1alpha1.SandboxPool) *domain.AppError + func (BasePlugin) PreDeletePool(_ context.Context, _ *agentsv1alpha1.SandboxPool) *domain.AppError + func (BasePlugin) PreUpdatePool(_ context.Context, _ *agentsv1alpha1.SandboxPool, _ []corev1.Pod) (bool, *domain.AppError) + func (BasePlugin) Start(_ context.Context, _ framework.Handle) error + type Factory func(h framework.Handle, args framework.Args) (Plugin, error) + func Get(name string) (Factory, error) + type Plugin interface + Name func() string + PreCreatePod func(ctx context.Context, pod *corev1.Pod, pool *agentsv1alpha1.SandboxPool) *domain.AppError + PreCreatePool func(ctx context.Context, pool *agentsv1alpha1.SandboxPool) *domain.AppError + PreDeletePool func(ctx context.Context, pool *agentsv1alpha1.SandboxPool) *domain.AppError + PreUpdatePool func(ctx context.Context, newPool *agentsv1alpha1.SandboxPool, pods []corev1.Pod) (updated bool, err *domain.AppError) + Start func(ctx context.Context, h framework.Handle) error + func Build(name string, h framework.Handle, args framework.Args) (Plugin, error) + type PluginManager struct + func NewPluginManager(plugins ...Plugin) *PluginManager + func (m *PluginManager) PreCreatePodHooks(ctx context.Context, pod *corev1.Pod, pool *agentsv1alpha1.SandboxPool) *domain.AppError + func (m *PluginManager) PreCreatePool(ctx context.Context, pool *agentsv1alpha1.SandboxPool) *domain.AppError + func (m *PluginManager) PreDeletePool(ctx context.Context, pool *agentsv1alpha1.SandboxPool) *domain.AppError + func (m *PluginManager) PreUpdatePool(ctx context.Context, newPool *agentsv1alpha1.SandboxPool, pods []corev1.Pod) (bool, *domain.AppError) + func (m *PluginManager) Start(ctx context.Context, h framework.Handle) error