From 819acfa40c4e7bd7adb890c229a2be88717156a0 Mon Sep 17 00:00:00 2001 From: Chris Richardson Date: Wed, 2 Jul 2025 14:32:52 -0400 Subject: [PATCH] comment out --- api/v1alpha1/locustcluster_types.go | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/api/v1alpha1/locustcluster_types.go b/api/v1alpha1/locustcluster_types.go index 632c7b7..539a7da 100644 --- a/api/v1alpha1/locustcluster_types.go +++ b/api/v1alpha1/locustcluster_types.go @@ -24,7 +24,7 @@ import ( // NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized. // LocustClusterSpec defines the desired state of LocustCluster. - +/* type ResourcesSpec struct { MaxCpu string `json:"maxCpu,omitempty" protobuf:"bytes,1,name=maxCpu"` MinCpu string `json:"minCpu,omitempty" protobuf:"bytes,2,name=minCpu"` @@ -100,13 +100,17 @@ type SecretsSpec struct { SecretsKeys []SecretsKeys `json:"secretKeys" protobuf:"bytes,2,name=secretKeys"` } + +*/ // LocustClusterSpec defines the desired state of LocustCluster type LocustClusterSpec struct { - Leader LeaderSpec `json:"leader,omitempty" protobuf:"bytes,1,rep,name=leader"` - // Worker WorkerSpec `json:"worker" protobuf:"bytes,2,rep,name=worker"` - // Metrics MetricsSpec `json:"metrics" protobuf:"bytes,3,rep,name=metrics"` - Infrastructure []InfrastructureSpec `json:"infrastructure,omitempty" protobuf:"bytes,4,rep,name=infrastructure"` - Secrets []SecretsSpec `json:"secrets,omitempty" protobuf:"bytes,5,rep,name=secrets"` + /* + Leader LeaderSpec `json:"leader,omitempty" protobuf:"bytes,1,rep,name=leader"` + // Worker WorkerSpec `json:"worker" protobuf:"bytes,2,rep,name=worker"` + // Metrics MetricsSpec `json:"metrics" protobuf:"bytes,3,rep,name=metrics"` + Infrastructure []InfrastructureSpec `json:"infrastructure,omitempty" protobuf:"bytes,4,rep,name=infrastructure"` + Secrets []SecretsSpec `json:"secrets,omitempty" protobuf:"bytes,5,rep,name=secrets"` + */ } // LocustClusterStatus defines the observed state of LocustCluster.