Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Refresh ¶
func Refresh(ctx context.Context, k k8s.Client, req ctrl.Request, now time.Time, statusInfo *LokiStackStatusInfo) error
Refresh executes an aggregate update of the LokiStack Status struct, i.e. - It recreates the Status.Components pod status map per component. - It sets the appropriate Status.Condition to true that matches the pod status maps.
Types ¶
type DegradedError ¶
type DegradedError struct {
Message string
Reason lokiv1.LokiStackConditionReason
Requeue bool
}
DegradedError contains information about why the managed LokiStack has an invalid configuration.
func (*DegradedError) Error ¶
func (e *DegradedError) Error() string
type LokiStackStatusInfo ¶ added in v0.9.0
type LokiStackStatusInfo struct {
// DegradedError contains information about why the managed LokiStack has an invalid configuration.
DegradedError *DegradedError
// Storage contains the credential mode used for object storage access
Storage lokiv1.CredentialMode
// NetworkPolicies indicates which set of network policies has been deployed, if any
NetworkPolicies lokiv1.NetworkPolicyRuleSet
}
LokiStackStatusInfo holds all status information calculated during LokiStack reconciliation
Click to show internal directories.
Click to hide internal directories.