Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "logging-view-plugin"
Variables ¶
This section is empty.
Functions ¶
func ConsoleCapabilityEnabled ¶
func ConsoleCapabilityEnabled(c client.Client, plugin consolev1alpha1.ConsolePlugin) bool
func FeaturesForOCP ¶
FeaturesForOCP will return the list of features to enable for the console plugin given the OCP version
func ReconcilePlugin ¶
func ReconcilePlugin(k8sClient client.Client, cl *logging.ClusterLogging, owner client.Object, clusterVersion string) error
ReconcilePlugin reconciles the console plugin to expose log querying of storage
Types ¶
type Config ¶
type Config struct { Owner client.Object // Owning object - the ClusterLogging instance Name string // Name for the consoleplugin and related objects Image string // Image for the logging view service. LokiService string // Name of the LokiStack gateway service. LokiPort int32 // Port of the LokiStack gateway service. Korrel8rName string // Name of the Korrel8r service. Korrel8rNamespace string // Namespace of korrel8r service. Korrel8rPort int32 // Port of the Korrel8r service. Features []string // The features enabled for the plugin }
Config is the configuration struct for the logging console plugin Reconciler. Construct with NewConfig to set default values.
type Reconciler ¶
type Reconciler struct { Config // contains filtered or unexported fields }
Reconciler reconciles the console plugin state with the desired configuration
func NewReconciler ¶
func NewReconciler(c client.Client, cf Config, visSpec *logging.VisualizationSpec) *Reconciler
NewReconciler creates a Reconciler using client for config.
Click to show internal directories.
Click to hide internal directories.