repo
stringlengths
6
47
file_url
stringlengths
77
269
file_path
stringlengths
5
186
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-07 08:35:43
2026-01-07 08:55:24
truncated
bool
2 classes
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/pkg/rendering/renderer_grafana_test.go
operators/multiclusterobservability/pkg/rendering/renderer_grafana_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rendering import ( "context" "fmt" "os" "path/filepath" "strings" "testing" imagev1 "github.com/openshift/api/image/v1" fakeimageclient "github.com/openshift/client...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/pkg/rendering/renderer_grafana.go
operators/multiclusterobservability/pkg/rendering/renderer_grafana.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rendering import ( "encoding/json" "fmt" "strings" v1 "k8s.io/api/apps/v1" "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" "k8s.io/apimachinery/pkg/runtime" "sig...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/pkg/rendering/renderer_alertmanager.go
operators/multiclusterobservability/pkg/rendering/renderer_alertmanager.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rendering import ( "context" "fmt" "strconv" v1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" apiresource "k8s.io/apimachinery/pkg/api/resource" "k8s.io/apimachin...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/pkg/rendering/renderer_thanos.go
operators/multiclusterobservability/pkg/rendering/renderer_thanos.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rendering import ( "strconv" "github.com/thanos-io/thanos/pkg/alert" "gopkg.in/yaml.v2" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/pkg/rendering/templates/templates.go
operators/multiclusterobservability/pkg/rendering/templates/templates.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package templates import ( "path" "sigs.k8s.io/kustomize/api/resource" "github.com/stolostron/multicluster-observability-operator/operators/pkg/rendering/templates" ) // *Temp...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/pkg/rendering/templates/templates_test.go
operators/multiclusterobservability/pkg/rendering/templates/templates_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package templates import ( "os" "path" "testing" templatesutil "github.com/stolostron/multicluster-observability-operator/operators/pkg/rendering/templates" ) func TestGetCore...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/pkg/webhook/webhook_controller_test.go
operators/multiclusterobservability/pkg/webhook/webhook_controller_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package webhook import ( "context" "reflect" "testing" "time" admissionregistrationv1 "k8s.io/api/admissionregistration/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/pkg/webhook/webhook_controller.go
operators/multiclusterobservability/pkg/webhook/webhook_controller.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package webhook import ( "context" "reflect" admissionregistrationv1 "k8s.io/api/admissionregistration/v1" apierrors "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/pkg/certificates/test_helpers.go
operators/multiclusterobservability/pkg/certificates/test_helpers.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package certificates import ( "bytes" "time" "github.com/openshift/library-go/pkg/crypto" ) func NewSigningCertKeyPair(signerName string, validity time.Duration) (certData, key...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/pkg/certificates/certificates_test.go
operators/multiclusterobservability/pkg/certificates/certificates_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package certificates import ( "context" "crypto/rand" "crypto/rsa" "crypto/x509" "crypto/x509/pkix" "math/big" "testing" "time" routev1 "github.com/openshift/api/route/v1"...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/pkg/certificates/approver.go
operators/multiclusterobservability/pkg/certificates/approver.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package certificates import ( "strings" certificatesv1 "k8s.io/api/certificates/v1" addonapiv1alpha1 "open-cluster-management.io/api/addon/v1alpha1" clusterv1 "open-cluster-ma...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/pkg/certificates/cert_agent_test.go
operators/multiclusterobservability/pkg/certificates/cert_agent_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package certificates import ( "crypto/sha256" "fmt" "testing" "time" "github.com/stretchr/testify/assert" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/me...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/pkg/certificates/certificates.go
operators/multiclusterobservability/pkg/certificates/certificates.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package certificates import ( "bytes" "context" "crypto/rand" "crypto/rsa" "crypto/x509" "crypto/x509/pkix" "encoding/pem" "errors" "fmt" "math/big" "net" "time" certi...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/pkg/certificates/signer.go
operators/multiclusterobservability/pkg/certificates/signer.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package certificates import ( "fmt" "os" "time" "github.com/cloudflare/cfssl/config" "github.com/cloudflare/cfssl/signer" "github.com/cloudflare/cfssl/signer/local" certific...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/pkg/certificates/approver_test.go
operators/multiclusterobservability/pkg/certificates/approver_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package certificates import ( "testing" certificatesv1 "k8s.io/api/certificates/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" clusterv1 "open-cluster-management.io/api/clu...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/pkg/certificates/cert_controller_test.go
operators/multiclusterobservability/pkg/certificates/cert_controller_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package certificates import ( "context" "testing" "time" appv1 "k8s.io/api/apps/v1" v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachiner...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/pkg/certificates/signer_test.go
operators/multiclusterobservability/pkg/certificates/signer_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package certificates import ( "crypto/rand" "crypto/rsa" "crypto/x509" "crypto/x509/pkix" "encoding/pem" "errors" "os" "testing" certificatesv1 "k8s.io/api/certificates/v1...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/pkg/certificates/cert_agent.go
operators/multiclusterobservability/pkg/certificates/cert_agent.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package certificates import ( "crypto/sha256" "fmt" certificatesv1 "k8s.io/api/certificates/v1" "k8s.io/apimachinery/pkg/runtime" "sigs.k8s.io/controller-runtime/pkg/client" ...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/pkg/certificates/cert_controller.go
operators/multiclusterobservability/pkg/certificates/cert_controller.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package certificates import ( "context" "crypto/x509" "encoding/pem" "fmt" "os" "reflect" "time" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "open-cluster-management.io/...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/pkg/config/resources.go
operators/multiclusterobservability/pkg/config/resources.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package config import ( "strings" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" mcoshared "github.com/stolostron/multicluster-observability-operator/opera...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/pkg/config/obj_storage_conf_test.go
operators/multiclusterobservability/pkg/config/obj_storage_conf_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package config import ( "testing" ) func TestCheckObjStorageConf(t *testing.T) { caseList := []struct { conf []byte name string expected bool }{ { conf: []byt...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/pkg/config/config.go
operators/multiclusterobservability/pkg/config/config.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package config import ( "context" "fmt" "net/url" "os" "reflect" "sort" "strings" "sync" "time" imagev1client "github.com/openshift/client-go/image/clientset/versioned/ty...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
true
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/pkg/config/obj_storage_conf.go
operators/multiclusterobservability/pkg/config/obj_storage_conf.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package config import ( "errors" "net/http" "strings" "github.com/prometheus/common/model" "gopkg.in/yaml.v2" ) // Config is for s3/azure/gcs compatible configuration. type C...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/pkg/config/config_test.go
operators/multiclusterobservability/pkg/config/config_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package config import ( "context" "fmt" "os" "reflect" "testing" configv1 "github.com/openshift/api/config/v1" routev1 "github.com/openshift/api/route/v1" observatoriumv1al...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/pkg/config/s3_conf.go
operators/multiclusterobservability/pkg/config/s3_conf.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package config import ( "errors" "fmt" "strings" "gopkg.in/yaml.v2" ) func validateS3(conf Config) error { if conf.Bucket == "" { return errors.New("no s3 bucket in config...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/pkg/config/resources_map.go
operators/multiclusterobservability/pkg/config/resources_map.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package config import ( observabilityv1beta2 "github.com/stolostron/multicluster-observability-operator/operators/multiclusterobservability/api/v1beta2" ) const ( // To be only u...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/pkg/config/resources_test.go
operators/multiclusterobservability/pkg/config/resources_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package config import ( "testing" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" mcoshared "github.com/stolostron/multicluster-observability-operator/opera...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/pkg/config/gcs_conf.go
operators/multiclusterobservability/pkg/config/gcs_conf.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package config import ( "errors" "fmt" "strings" "gopkg.in/yaml.v2" ) func validateGCS(conf Config) error { if conf.Bucket == "" { return errors.New("no bucket as gcs buck...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/pkg/config/azure_conf.go
operators/multiclusterobservability/pkg/config/azure_conf.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package config import ( "errors" "strings" "gopkg.in/yaml.v2" ) func validateAzure(conf Config) error { if conf.StorageAccount == "" { return errors.New("no storage_account...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/multiclusterobservability/storageversionmigration_test.go
operators/multiclusterobservability/controllers/multiclusterobservability/storageversionmigration_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package multiclusterobservability import ( "context" "testing" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" "k8s.io/client-go/kubernetes/schem...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/multiclusterobservability/multiclusterobservability_controller_integration_test.go
operators/multiclusterobservability/controllers/multiclusterobservability/multiclusterobservability_controller_integration_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 //go:build integration package multiclusterobservability_test import ( "context" "fmt" "os" "path/filepath" "slices" "testing" "time" operatorv1 "github.com/openshift/api/...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/multiclusterobservability/predicate_func.go
operators/multiclusterobservability/controllers/multiclusterobservability/predicate_func.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package multiclusterobservability import ( "reflect" mcov1beta2 "github.com/stolostron/multicluster-observability-operator/operators/multiclusterobservability/api/v1beta2" "gith...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/multiclusterobservability/multiclusterobservability_controller_test.go
operators/multiclusterobservability/controllers/multiclusterobservability/multiclusterobservability_controller_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package multiclusterobservability import ( "context" "crypto/rand" "crypto/rsa" "crypto/x509" "crypto/x509/pkix" "encoding/pem" "math/big" "os" "path" "strings" "testing"...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
true
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/multiclusterobservability/observatorium_test.go
operators/multiclusterobservability/controllers/multiclusterobservability/observatorium_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package multiclusterobservability import ( "bytes" "context" "errors" "reflect" "testing" routev1 "github.com/openshift/api/route/v1" mcoshared "github.com/stolostron/multi...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/multiclusterobservability/predicate_func_test.go
operators/multiclusterobservability/controllers/multiclusterobservability/predicate_func_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package multiclusterobservability import ( "testing" "github.com/stolostron/multicluster-observability-operator/operators/multiclusterobservability/pkg/config" "sigs.k8s.io/cont...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/multiclusterobservability/grafana.go
operators/multiclusterobservability/controllers/multiclusterobservability/grafana.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package multiclusterobservability import ( "bytes" "context" "fmt" "reflect" oauthv1 "github.com/openshift/api/oauth/v1" routev1 "github.com/openshift/api/route/v1" "gopkg.i...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/multiclusterobservability/multiclusterobservability_controller.go
operators/multiclusterobservability/controllers/multiclusterobservability/multiclusterobservability_controller.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package multiclusterobservability import ( "context" cerr "errors" "fmt" "net/url" "os" "reflect" slices "slices" "sort" "strings" "time" imagev1 "github.com/openshift/a...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
true
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/multiclusterobservability/multiclusterobservability_status_test.go
operators/multiclusterobservability/controllers/multiclusterobservability/multiclusterobservability_status_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package multiclusterobservability import ( "context" "reflect" "testing" "time" mcoshared "github.com/stolostron/multicluster-observability-operator/operators/multiclusterobse...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/multiclusterobservability/observatorium.go
operators/multiclusterobservability/controllers/multiclusterobservability/observatorium.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package multiclusterobservability import ( "context" "k8s.io/apimachinery/pkg/api/equality" // The import of crypto/md5 below is not for cryptographic use. It is used to hash t...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
true
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/multiclusterobservability/grafana_test.go
operators/multiclusterobservability/controllers/multiclusterobservability/grafana_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package multiclusterobservability import ( "context" "reflect" "testing" routev1 "github.com/openshift/api/route/v1" mcov1beta2 "github.com/stolostron/multicluster-observabili...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/multiclusterobservability/multiclusterobservability_status.go
operators/multiclusterobservability/controllers/multiclusterobservability/multiclusterobservability_status.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package multiclusterobservability import ( "context" "fmt" "reflect" "strings" "sync" "time" appsv1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" apiextensionsv1 "k8s.i...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/multiclusterobservability/storageversionmigration.go
operators/multiclusterobservability/controllers/multiclusterobservability/storageversionmigration.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package multiclusterobservability import ( "context" "reflect" "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runt...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/placementrule/manifestwork.go
operators/multiclusterobservability/controllers/placementrule/manifestwork.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package placementrule import ( "context" "encoding/base64" "encoding/json" "errors" "fmt" "maps" "strconv" "strings" "time" "golang.org/x/exp/slices" rbacv1 "k8s.io/api/...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
true
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/placementrule/status.go
operators/multiclusterobservability/controllers/placementrule/status.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package placementrule import ( "context" "errors" "slices" apierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/p...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/placementrule/predict_func_test.go
operators/multiclusterobservability/controllers/placementrule/predict_func_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package placementrule import ( "testing" "github.com/stolostron/multicluster-observability-operator/operators/multiclusterobservability/pkg/config" mchv1 "github.com/stolostron/...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/placementrule/placementrule_controller.go
operators/multiclusterobservability/controllers/placementrule/placementrule_controller.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package placementrule import ( "context" "errors" "fmt" "os" "strings" "sync" "time" "gopkg.in/yaml.v2" "github.com/go-logr/logr" operatorv1 "github.com/openshift/api/op...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
true
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/placementrule/mco_predicate.go
operators/multiclusterobservability/controllers/placementrule/mco_predicate.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package placementrule import ( "reflect" "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/controller-runtime/pkg/event" "sigs.k8s.io/controller-runtime/pkg/predicate" ...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/placementrule/namespace.go
operators/multiclusterobservability/controllers/placementrule/namespace.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package placementrule import ( "os" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" operatorconfig "github.com/stolostron/multicluster-observability-...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/placementrule/customize_img_test.go
operators/multiclusterobservability/controllers/placementrule/customize_img_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package placementrule import ( "encoding/json" "errors" "fmt" "testing" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/equality" metav1 "k8s.io/apimachinery/pkg/ap...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/placementrule/predicate_func.go
operators/multiclusterobservability/controllers/placementrule/predicate_func.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package placementrule import ( "fmt" "reflect" "strings" "github.com/stolostron/multicluster-observability-operator/operators/multiclusterobservability/pkg/config" operatorcon...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/placementrule/mco_predicate_test.go
operators/multiclusterobservability/controllers/placementrule/mco_predicate_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package placementrule import ( "testing" "gopkg.in/yaml.v2" "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/kubernetes/scheme" ctrl "sigs.k8s.io/controller-runtime" "sigs...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/placementrule/status_test.go
operators/multiclusterobservability/controllers/placementrule/status_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package placementrule import ( "context" "slices" "testing" "time" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/t...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/placementrule/namespace_test.go
operators/multiclusterobservability/controllers/placementrule/namespace_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package placementrule import ( "testing" operatorconfig "github.com/stolostron/multicluster-observability-operator/operators/pkg/config" ) const ( name = "test-ns" ) func Test...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/placementrule/manifestwork_test.go
operators/multiclusterobservability/controllers/placementrule/manifestwork_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package placementrule import ( "context" "encoding/base64" "fmt" "os" "strings" "testing" "time" "gopkg.in/yaml.v2" authv1 "k8s.io/api/authentication/v1" corev1 "k8s.io/a...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/placementrule/hub_info_secret.go
operators/multiclusterobservability/controllers/placementrule/hub_info_secret.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package placementrule import ( "context" "fmt" "net/url" "os" "strings" "gopkg.in/yaml.v2" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "sigs....
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/placementrule/predicate_func_test.go
operators/multiclusterobservability/controllers/placementrule/predicate_func_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package placementrule import ( "testing" "time" clusterv1 "open-cluster-management.io/api/cluster/v1" addonv1alpha1 "open-cluster-management.io/api/addon/v1alpha1" metav1 "k...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/placementrule/endpoint_metrics_operator.go
operators/multiclusterobservability/controllers/placementrule/endpoint_metrics_operator.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package placementrule import ( "fmt" appsv1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" rbacv1 "k8s.io/api/rbac/v1" apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/ap...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/placementrule/hub_info_secret_test.go
operators/multiclusterobservability/controllers/placementrule/hub_info_secret_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package placementrule import ( "strings" "testing" operatorv1 "github.com/openshift/api/operator/v1" routev1 "github.com/openshift/api/route/v1" mcoshared "github.com/stolostr...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/placementrule/obsaddon_test.go
operators/multiclusterobservability/controllers/placementrule/obsaddon_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package placementrule import ( "context" "testing" "time" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/equality" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/api...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/placementrule/obsaddon.go
operators/multiclusterobservability/controllers/placementrule/obsaddon.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package placementrule import ( "context" "fmt" "time" "github.com/stolostron/multicluster-observability-operator/operators/multiclusterobservability/pkg/config" "golang.org/x...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/placementrule/predict_func.go
operators/multiclusterobservability/controllers/placementrule/predict_func.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package placementrule import ( "maps" "reflect" "github.com/stolostron/multicluster-observability-operator/operators/multiclusterobservability/pkg/config" "github.com/stolostro...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/placementrule/hub_ocp_monitoring_util.go
operators/multiclusterobservability/controllers/placementrule/hub_ocp_monitoring_util.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package placementrule import ( "context" "encoding/json" "fmt" "reflect" "k8s.io/apimachinery/pkg/api/equality" "github.com/ghodss/yaml" cmomanifests "github.com/openshift/...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/placementrule/placementrule_controller_test.go
operators/multiclusterobservability/controllers/placementrule/placementrule_controller_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package placementrule import ( "context" "os" "path" "path/filepath" "strings" "testing" appsv1 "k8s.io/api/apps/v1" ocinfrav1 "github.com/openshift/api/config/v1" operat...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/placementrule/role.go
operators/multiclusterobservability/controllers/placementrule/role.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package placementrule import ( "context" "fmt" "reflect" rbacv1 "k8s.io/api/rbac/v1" "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s....
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/placementrule/role_test.go
operators/multiclusterobservability/controllers/placementrule/role_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package placementrule import ( "context" "fmt" "testing" rbacv1 "k8s.io/api/rbac/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/placementrule/customize_img.go
operators/multiclusterobservability/controllers/placementrule/customize_img.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package placementrule import ( "context" "encoding/json" "fmt" "strings" "sync" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/types" clusterv1 "open-cluster-manageme...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/analytics_controller.go
operators/multiclusterobservability/controllers/analytics/analytics_controller.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package analytics import ( "context" "fmt" "github.com/go-logr/logr" "k8s.io/apimachinery/pkg/runtime" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/p...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/analytics_controller_test.go
operators/multiclusterobservability/controllers/analytics/analytics_controller_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package analytics import ( "context" "testing" "github.com/stretchr/testify/require" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimach...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rightsizing_controller.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rightsizing_controller.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rightsizing import ( "context" "fmt" mcov1beta2 "github.com/stolostron/multicluster-observability-operator/operators/multiclusterobservability/api/v1beta2" rsnamespace ...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rightsizing_controller_test.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rightsizing_controller_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rightsizing import ( "context" "testing" "github.com/stretchr/testify/require" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apima...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rs-namespace/policy.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rs-namespace/policy.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rsnamespace import ( "context" monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" rsutility "github.com/stolostron/multicluster-obs...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rs-namespace/placement.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rs-namespace/placement.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rsnamespace import ( "context" rsutility "github.com/stolostron/multicluster-observability-operator/operators/multiclusterobservability/controllers/analytics/rightsizing/...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rs-namespace/prometheusrule.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rs-namespace/prometheusrule.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rsnamespace import ( "fmt" monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" rsutility "github.com/stolostron/multicluster-observa...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rs-namespace/configmap_test.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rs-namespace/configmap_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rsnamespace import ( "context" "testing" rsutility "github.com/stolostron/multicluster-observability-operator/operators/multiclusterobservability/controllers/analytics/r...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rs-namespace/helper.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rs-namespace/helper.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rsnamespace import ( "context" mcov1beta2 "github.com/stolostron/multicluster-observability-operator/operators/multiclusterobservability/api/v1beta2" rsutility "github.c...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rs-namespace/policy_test.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rs-namespace/policy_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rsnamespace import ( "context" "testing" monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" "github.com/stretchr/testify/assert" ...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rs-namespace/placement_test.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rs-namespace/placement_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rsnamespace import ( "context" "testing" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachi...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rs-namespace/helper_test.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rs-namespace/helper_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rsnamespace import ( "context" "testing" "time" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" corev1 "k8s.io/api/core/v1" metav1 "k8s.io...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rs-namespace/prometheusrule_test.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rs-namespace/prometheusrule_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rsnamespace import ( "testing" rsutility "github.com/stolostron/multicluster-observability-operator/operators/multiclusterobservability/controllers/analytics/rightsizing/...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rs-namespace/placementbinding.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rs-namespace/placementbinding.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rsnamespace import ( "context" rsutility "github.com/stolostron/multicluster-observability-operator/operators/multiclusterobservability/controllers/analytics/rightsizing/...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rs-namespace/placementbinding_test.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rs-namespace/placementbinding_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rsnamespace import ( "context" "testing" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachi...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rs-namespace/configmap.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rs-namespace/configmap.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rsnamespace import ( "context" rsutility "github.com/stolostron/multicluster-observability-operator/operators/multiclusterobservability/controllers/analytics/rightsizing/...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rs-utility/policy.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rs-utility/policy.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rsutility import ( "context" "encoding/json" "fmt" monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" "k8s.io/apimachinery/pkg/ap...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rs-utility/placement.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rs-utility/placement.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rsutility import ( "context" "fmt" "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" clusterv1beta1 "...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rs-utility/prometheusrule.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rs-utility/prometheusrule.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rsutility import ( "fmt" "strings" ) // BuildNamespaceFilter creates a namespace filter string for Prometheus queries func BuildNamespaceFilter(nsConfig RSPrometheusRuleC...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rs-utility/configmap_test.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rs-utility/configmap_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rsutility import ( "context" "testing" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachin...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rs-utility/component.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rs-utility/component.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rsutility import ( "context" "fmt" mcov1beta2 "github.com/stolostron/multicluster-observability-operator/operators/multiclusterobservability/api/v1beta2" "github.com/st...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rs-utility/helper.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rs-utility/helper.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rsutility import ( mcov1beta2 "github.com/stolostron/multicluster-observability-operator/operators/multiclusterobservability/api/v1beta2" "gopkg.in/yaml.v2" clusterv1beta...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rs-utility/policy_test.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rs-utility/policy_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rsutility import ( "context" "testing" monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" "github.com/stretchr/testify/assert" me...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rs-utility/placement_test.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rs-utility/placement_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rsutility import ( "context" "testing" "github.com/stretchr/testify/assert" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/ap...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rs-utility/types.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rs-utility/types.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rsutility import ( clusterv1beta1 "open-cluster-management.io/api/cluster/v1beta1" logf "sigs.k8s.io/controller-runtime/pkg/log" ) var ( log = logf.Log.WithName("rs-util...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rs-utility/helper_test.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rs-utility/helper_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rsutility import ( "testing" "github.com/stretchr/testify/assert" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" clusterv1beta1 "open-cluster-management.io/api/cluster/v...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rs-utility/prometheusrule_test.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rs-utility/prometheusrule_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rsutility import ( "testing" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) func TestBuildNamespaceFilter_InclusionOnly(t *testing.T) { c...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rs-utility/component_test.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rs-utility/component_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rsutility import ( "context" "testing" "time" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" corev1 "k8s.io/api/core/v1" "k8s.io/apimachi...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rs-utility/placementbinding.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rs-utility/placementbinding.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rsutility import ( "context" "fmt" "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" policyv1 "open-c...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rs-utility/placementbinding_test.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rs-utility/placementbinding_test.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rsutility import ( "context" "testing" "github.com/stretchr/testify/assert" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/ap...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rs-utility/configmap.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rs-utility/configmap.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rsutility import ( "context" "fmt" "reflect" "github.com/stolostron/multicluster-observability-operator/operators/multiclusterobservability/pkg/config" "gopkg.in/yaml....
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rs-virtualization/policy.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rs-virtualization/policy.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rsvirtualization import ( "context" monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" rsutility "github.com/stolostron/multicluste...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rs-virtualization/placement.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rs-virtualization/placement.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rsvirtualization import ( "context" rsutility "github.com/stolostron/multicluster-observability-operator/operators/multiclusterobservability/controllers/analytics/rightsi...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false
stolostron/multicluster-observability-operator
https://github.com/stolostron/multicluster-observability-operator/blob/a116fae78ab8eb55e54c9a9bdabdc478c9a309be/operators/multiclusterobservability/controllers/analytics/rightsizing/rs-virtualization/prometheusrule.go
operators/multiclusterobservability/controllers/analytics/rightsizing/rs-virtualization/prometheusrule.go
// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 package rsvirtualization import ( "fmt" monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" rsutility "github.com/stolostron/multicluster-ob...
go
Apache-2.0
a116fae78ab8eb55e54c9a9bdabdc478c9a309be
2026-01-07T09:45:49.228954Z
false