Documentation ¶
Index ¶
- Constants
- func DecorateEnvironment(c corev1.Container, namespace string, ...) corev1.Container
- func DefaultVolumeMount(osType rmeta.OSType) corev1.VolumeMount
- func ECKElasticEndpoint() string
- func ElasticCAEnvVar(osType rmeta.OSType) corev1.EnvVar
- func ElasticCuratorBackendCertEnvVar(osType rmeta.OSType) corev1.EnvVar
- func ElasticHostEnvVar(esHost string) corev1.EnvVar
- func ElasticIndexSuffixEnvVar(esIdxSuffix string) corev1.EnvVar
- func ElasticPasswordEnvVar(esUserSecretName string) corev1.EnvVar
- func ElasticPortEnvVar(esPort string) corev1.EnvVar
- func ElasticSchemeEnvVar(esScheme string) corev1.EnvVar
- func ElasticUserEnvVar(esUserSecretName string) corev1.EnvVar
- func ElasticUsernameEnvVar(esUsernameSecret string) corev1.EnvVar
- func GatewayEndpoint(osType rmeta.OSType, clusterDomain, namespace string) string
- func HTTPSEndpoint(osType rmeta.OSType, clusterDomain string) string
- func LinseedEndpoint(osType rmeta.OSType, clusterDomain, namespace string) string
- type Annotatable
- type ClusterConfig
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 DecorateEnvironment ¶ added in v1.32.0
func DefaultVolumeMount ¶
func DefaultVolumeMount(osType rmeta.OSType) corev1.VolumeMount
func ECKElasticEndpoint ¶ added in v1.33.0
func ECKElasticEndpoint() string
ECKElasticEndpoint returns the URL of the Elasticsearch provisioned by the ECK operator. This endpoint is only valid when using internal elasticsearch.
func ElasticCuratorBackendCertEnvVar ¶ added in v1.33.0
func ElasticHostEnvVar ¶ added in v1.33.0
func ElasticIndexSuffixEnvVar ¶ added in v1.33.0
func ElasticPasswordEnvVar ¶ added in v1.33.0
func ElasticPortEnvVar ¶ added in v1.33.0
func ElasticSchemeEnvVar ¶ added in v1.33.0
func ElasticUserEnvVar ¶ added in v1.33.0
func ElasticUsernameEnvVar ¶ added in v1.33.0
func GatewayEndpoint ¶ added in v1.32.0
GatewayEndpoint returns the endpoint for the Elasticsearch service. For Windows, the FQDN endpoint is returned.
func HTTPSEndpoint ¶
Deprecated - does not support multi-tenancy. Use GatewayEndpoint instead.
Types ¶
type Annotatable ¶
func DecorateAnnotations ¶
func DecorateAnnotations(obj Annotatable, 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) 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
Click to show internal directories.
Click to hide internal directories.