Documentation ¶
Index ¶
- func Dependencies(jaeger *v1.Jaeger) []batchv1.Job
- func EnableRollover(spec v1.JaegerStorageSpec) bool
- func OptionsPrefix(storageType string) string
- func ShouldDeployElasticsearch(s v1.JaegerStorageSpec) bool
- func ValidTypes() []string
- type ElasticsearchDeployment
- func (ed *ElasticsearchDeployment) CleanCerts() error
- func (ed *ElasticsearchDeployment) CreateCerts() error
- func (ed *ElasticsearchDeployment) Elasticsearch() *esv1.Elasticsearch
- func (ed *ElasticsearchDeployment) ExtractSecrets() []corev1.Secret
- func (ed *ElasticsearchDeployment) InjectSecretsConfiguration(p *corev1.PodSpec)
- func (ed *ElasticsearchDeployment) InjectStorageConfiguration(p *corev1.PodSpec)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dependencies ¶
Dependencies return a list of Jobs that have to be finished before the other components are deployed
func EnableRollover ¶ added in v1.11.0
func EnableRollover(spec v1.JaegerStorageSpec) bool
EnableRollover returns true if rollover should be enabled
func OptionsPrefix ¶
OptionsPrefix returns the options prefix associated with the supplied storage type
func ShouldDeployElasticsearch ¶ added in v1.10.0
func ShouldDeployElasticsearch(s v1.JaegerStorageSpec) bool
ShouldDeployElasticsearch determines whether a new instance of Elasticsearch should be deployed
Types ¶
type ElasticsearchDeployment ¶ added in v1.10.0
ElasticsearchDeployment represents an ES deployment for Jaeger
func (*ElasticsearchDeployment) CleanCerts ¶ added in v1.12.1
func (ed *ElasticsearchDeployment) CleanCerts() error
CleanCerts removes certificates from local filesystem. Use this function in tests to clean resources
func (*ElasticsearchDeployment) CreateCerts ¶ added in v1.12.1
func (ed *ElasticsearchDeployment) CreateCerts() error
CreateCerts creates certificates for elasticsearch, jaeger and curator The cert generation is done by shell script. If the certificates are not present on the filesystem the operator injects them from secrets - this allows operator restarts. The script also re-generates expired certificates.
func (*ElasticsearchDeployment) Elasticsearch ¶ added in v1.10.0
func (ed *ElasticsearchDeployment) Elasticsearch() *esv1.Elasticsearch
Elasticsearch returns an ES CR for the deployment
func (*ElasticsearchDeployment) ExtractSecrets ¶ added in v1.12.1
func (ed *ElasticsearchDeployment) ExtractSecrets() []corev1.Secret
ExtractSecrets assembles a set of secrets related to Elasticsearch
func (*ElasticsearchDeployment) InjectSecretsConfiguration ¶ added in v1.11.0
func (ed *ElasticsearchDeployment) InjectSecretsConfiguration(p *corev1.PodSpec)
InjectSecretsConfiguration changes the given spec to include the options for the index cleaner
func (*ElasticsearchDeployment) InjectStorageConfiguration ¶ added in v1.10.0
func (ed *ElasticsearchDeployment) InjectStorageConfiguration(p *corev1.PodSpec)
InjectStorageConfiguration changes the given spec to include ES-related command line options