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, credentialMode lokiv1.CredentialMode, degradedErr *DegradedError) 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.
func SetStorageSchemaStatus ¶
func SetStorageSchemaStatus(ctx context.Context, k k8s.Client, req ctrl.Request, schemas []lokiv1.ObjectStorageSchema) error
SetStorageSchemaStatus updates the storage status component
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.
Click to show internal directories.
Click to hide internal directories.