Versions in this module Expand all Collapse all v1 v1.0.2 Mar 13, 2026 v1.0.1 Mar 13, 2026 Changes in this version + const AnnotationApplyNow + const AnnotationBackupNow + const PluginFinalizer + type BackupReconciler struct + Metrics metrics.Recorder + Scheme *runtime.Scheme + Snapshotter backup.Snapshotter + func (r *BackupReconciler) PerformBackup(ctx context.Context, server *mcv1beta1.PaperMCServer, trigger string) error + func (r *BackupReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, retErr error) + func (r *BackupReconciler) SetCron(scheduler mccron.Scheduler) + func (r *BackupReconciler) SetupWithManager(mgr ctrl.Manager) error + type K8sPodExecutor struct + func NewK8sPodExecutor(config *rest.Config) (*K8sPodExecutor, error) + func (e *K8sPodExecutor) ExecInPod(ctx context.Context, namespace, podName, container string, command []string) ([]byte, error) + type PaperAPI interface + GetBuilds func(ctx context.Context, ver string) ([]int, error) + GetPaperBuild func(ctx context.Context, ver string) (*paper.BuildInfo, error) + GetPaperVersions func(ctx context.Context) ([]string, error) + type PaperMCServerReconciler struct + Config *rest.Config + Metrics metrics.Recorder + OperatorNamespace string + PaperClient PaperAPI + RegistryClient RegistryAPI + Scheme *runtime.Scheme + Solver solver.Solver + func (r *PaperMCServerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, retErr error) + func (r *PaperMCServerReconciler) SetupWithManager(mgr ctrl.Manager) error + type PluginReconciler struct + HTTPClient *http.Client + Metrics metrics.Recorder + PluginClient plugins.PluginClient + Scheme *runtime.Scheme + Solver solver.Solver + func (r *PluginReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, retErr error) + func (r *PluginReconciler) SetupWithManager(mgr ctrl.Manager) error + type PodExecutor interface + ExecInPod func(ctx context.Context, namespace, podName, container string, command []string) ([]byte, error) + type RCONClientFactory func(host, password string, port int) (rcon.Client, error) + type RegistryAPI interface + ImageExists func(ctx context.Context, repository, tag string) (bool, error) + ListTags func(ctx context.Context, repository string, pageSize int) ([]string, error) + type UpdateReconciler struct + BackupReconciler *BackupReconciler + Metrics metrics.Recorder + PaperClient PaperAPI + PluginClient plugins.PluginClient + PodExecutor PodExecutor + Scheme *runtime.Scheme + func (r *UpdateReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, retErr error) + func (r *UpdateReconciler) SetCron(scheduler mccron.Scheduler) + func (r *UpdateReconciler) SetupWithManager(mgr ctrl.Manager) error