Documentation
¶
Index ¶
Constants ¶
View Source
const ( DashboardName = "grafana-dashboard-cluster-logging" DashboardNS = "openshift-config-managed" DashboardFileName = "openshift-logging.json" DashboardHashName = "contentHash" )
Variables ¶
View Source
var ( //go:embed openshift-logging-dashboard.json DashboardConfig string )
Functions ¶
func ReconcileForDashboards ¶
Types ¶
type ReconcileDashboards ¶
type ReconcileDashboards struct {
Client client.Client
// Reader is an initialized client.Reader that reads objects directly from the apiserver
// instead of the cache. Useful for cases where need to read/write to a namespace other than
// the deployed namespace (e.g. openshift-config-managed)
Reader client.Reader
}
func (*ReconcileDashboards) SetupWithManager ¶
func (r *ReconcileDashboards) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager
Click to show internal directories.
Click to hide internal directories.