elasticsearch

package
v1.32.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PublicCertSecret = "tigera-secure-es-gateway-http-certs-public"
	UnusedCertSecret = "tigera-secure-es-http-certs-unused"
)
View Source
const (
	ClusterConfigConfigMapName = "tigera-secure-elasticsearch"
)

Variables

This section is empty.

Functions

func ContainerDecorate

func ContainerDecorate(c corev1.Container, cluster, secret, clusterDomain string, osType rmeta.OSType) corev1.Container

ContainerDecorate is the legacy implementation, which does not support multi-tenancy. Use DecorateEnvironment instead.

func ContainerDecorateIndexCreator

func ContainerDecorateIndexCreator(c corev1.Container, replicas, shards int) corev1.Container

func DecorateEnvironment added in v1.32.0

func DecorateEnvironment(c corev1.Container, namespace string, cluster, esUserSecretName, clusterDomain string, osType rmeta.OSType) corev1.Container

func DefaultVolumeMount

func DefaultVolumeMount(osType rmeta.OSType) corev1.VolumeMount

func ElasticEndpoint added in v1.32.0

func ElasticEndpoint() string

func GatewayEndpoint added in v1.32.0

func GatewayEndpoint(osType rmeta.OSType, clusterDomain, namespace string) string

GatewayEndpoint returns the endpoint for the Elasticsearch service. For Windows, the FQDN endpoint is returned.

func HTTPSEndpoint

func HTTPSEndpoint(osType rmeta.OSType, clusterDomain string) string

Deprecated - does not support multi-tenancy. Use GatewayEndpoint instead.

func LinseedEndpoint added in v1.30.0

func LinseedEndpoint(osType rmeta.OSType, clusterDomain, namespace string) string

Types

type Annotatable

type Annotatable interface {
	SetAnnotations(map[string]string)
	GetAnnotations() map[string]string
}

func DecorateAnnotations

func DecorateAnnotations(obj Annotatable, config *ClusterConfig, secrets []*corev1.Secret) Annotatable

type ClusterConfig

type ClusterConfig struct {
	// contains filtered or unexported fields
}

func NewClusterConfig

func NewClusterConfig(clusterName string, replicas int, shards int, flowShards int) *ClusterConfig

func NewClusterConfigFromConfigMap

func NewClusterConfigFromConfigMap(configMap *corev1.ConfigMap) (*ClusterConfig, error)

func (ClusterConfig) Annotation

func (c ClusterConfig) Annotation() string

func (ClusterConfig) ClusterName

func (c ClusterConfig) ClusterName() string

func (ClusterConfig) ConfigMap

func (c ClusterConfig) ConfigMap() *corev1.ConfigMap

func (ClusterConfig) FlowShards

func (c ClusterConfig) FlowShards() int

func (ClusterConfig) Replicas

func (c ClusterConfig) Replicas() int

func (ClusterConfig) Shards

func (c ClusterConfig) Shards() int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL