Documentation ¶
Index ¶
Constants ¶
View Source
const (
// LokiGatewayTenantFileName is the name of the tenant config file in the configmap
LokiGatewayTenantFileName = "tenants.yaml"
)
Variables ¶
This section is empty.
Functions ¶
func BuildOptions ¶ added in v0.6.0
func BuildOptions(ctx context.Context, log logr.Logger, k k8s.Client, stack *lokiv1.LokiStack, fg configv1.FeatureGates) (string, manifests.Tenants, error)
BuildOptions returns the options needed to generate Kubernetes resource manifests for the lokistack-gateway. The returned error can be a status.DegradedError in the following cases:
- The tenants spec is missing.
- The tenants spec is invalid.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.