• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

opendefensecloud / solution-arsenal / 20010163616

07 Dec 2025 08:51PM UTC coverage: 73.508%. First build
20010163616

Pull #2

github

web-flow
Merge fbf3e4bab into 02dfb1533
Pull Request #2: Project setup including Observability stack

308 of 419 new or added lines in 6 files covered. (73.51%)

308 of 419 relevant lines covered (73.51%)

2.21 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

62.5
/pkg/controller/catalogitem_controller.go
1
// Copyright 2025 BWI GmbH and Artefact Conduit contributors
2
// SPDX-License-Identifier: Apache-2.0
3

4
package controller
5

6
import (
7
        "context"
8

9
        solarv1alpha1 "go.opendefense.cloud/solar/api/solar/v1alpha1"
10
        "k8s.io/apimachinery/pkg/runtime"
11
        "k8s.io/client-go/tools/record"
12
        ctrl "sigs.k8s.io/controller-runtime"
13
        "sigs.k8s.io/controller-runtime/pkg/client"
14
)
15

16
// CatalogItemReconciler reconciles a CatalogItem object
17
type CatalogItemReconciler struct {
18
        client.Client
19
        Scheme   *runtime.Scheme
20
        Recorder record.EventRecorder
21
}
22

23
//+kubebuilder:rbac:groups=solar.opendefense.cloud,resources=clusteritems/status,verbs=get;update;patch
24
//+kubebuilder:rbac:groups=solar.opendefense.cloud,resources=clusteritems/finalizers,verbs=update
25

26
// Reconcile moves the current state of the cluster closer to the desired state
NEW
27
func (r *CatalogItemReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
×
NEW
28
        return ctrl.Result{}, nil
×
NEW
29
}
×
30

31
// SetupWithManager sets up the controller with the Manager.
32
func (r *CatalogItemReconciler) SetupWithManager(mgr ctrl.Manager) error {
1✔
33
        return ctrl.NewControllerManagedBy(mgr).
1✔
34
                For(&solarv1alpha1.CatalogItem{}).
1✔
35
                Complete(r)
1✔
36
}
1✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc