Versions in this module Expand all Collapse all v1 v1.45.0-0.dev Aug 17, 2026 v1.44.0 Oct 1, 2026 Changes in this version + const DefaultMaxIndexSizeGi + const ElasticConnRetries + const ElasticConnRetryInterval + const ElasticsearchRetentionFactor + const LegacySingleTenantUserSuffix + const SystemUserFullName + var ElasticsearchUserNameDashboardInstaller = "tigera-ee-dashboards-installer" + var ElasticsearchUserNameLinseed = "tigera-ee-linseed" + func ElasticsearchSecrets(ctx context.Context, userSecretNames []string, cli client.Client) ([]*corev1.Secret, error) + func GetElasticLicenseType(ctx context.Context, cli client.Client, logger logr.Logger) (render.ElasticsearchLicenseType, error) + func GetElasticsearch(ctx context.Context, c client.Client) (*esv1.Elasticsearch, error) + func GetElasticsearchClusterConfig(ctx context.Context, cli client.Client) (*relasticsearch.ClusterConfig, error) + func StrToElasticLicenseType(license string, logger logr.Logger) render.ElasticsearchLicenseType + type Application struct + Application string + Privileges []string + Resources []string + type ElasticClient interface + CreateUser func(context.Context, *User) error + DeleteUser func(context.Context, *User) error + GetUsers func(ctx context.Context) ([]User, error) + SetILMPolicies func(context.Context, *operatorv1.LogStorage, bool) error + func NewElasticClient(client client.Client, ctx context.Context, elasticHTTPSEndpoint string, ...) (ElasticClient, error) + type ElasticsearchClientCreator func(client client.Client, ctx context.Context, elasticHTTPSEndpoint string, ...) (ElasticClient, error) + type Policy struct + Phases struct{ ... } + type Role struct + Definition *RoleDefinition + Name string + type RoleDefinition struct + Applications []Application + Cluster []string + Indices []RoleIndex + type RoleIndex struct + Names []string + Privileges []string + type User struct + FullName string + Password string + Roles []Role + Username string + func DashboardUser(clusterID, tenant string) *User + func DashboardUserSingleTenant(tenant string, externalElastic bool) *User + func LinseedUser(clusterID string, tenant *operatorv1.Tenant) *User + func LinseedUserSingleTenant(tenant *operatorv1.Tenant, externalElastic bool) *User + func (u User) RoleNames() []string