20 lines
533 B
Go
20 lines
533 B
Go
package controller
|
|
|
|
import (
|
|
"context"
|
|
|
|
locustCluster "git.lilpenguins.com/crichardson/locust-operator/api/v1alpha1"
|
|
"github.com/go-logr/logr"
|
|
)
|
|
|
|
func (r *LocustClusterReconciler) CreateLeaderJob(log logr.Logger, locustCluster *locustCluster.LocustCluster, ctx context.Context) error {
|
|
log.Info("Creating leader")
|
|
return nil
|
|
}
|
|
|
|
func (r *LocustClusterReconciler) CreateLeaderService(log logr.Logger, locustCluster *locustCluster.LocustCluster,
|
|
ctx context.Context) error {
|
|
log.Info("Creating service for leader")
|
|
return nil
|
|
}
|