MCPcopy Index your code
hub / github.com/cortexproject/cortex / NewAlertmanagerWithTLS

Function NewAlertmanagerWithTLS

integration/e2ecortex/services.go:405–423  ·  view source on GitHub ↗
(name string, flags map[string]string, image string)

Source from the content-addressed store, hash-verified

403}
404
405func NewAlertmanagerWithTLS(name string, flags map[string]string, image string) *CortexService {
406 if image == "" {
407 image = GetDefaultImage()
408 }
409
410 return NewCortexService(
411 name,
412 image,
413 e2e.NewCommandWithoutEntrypoint("cortex", e2e.BuildArgs(e2e.MergeFlags(map[string]string{
414 "-target": "alertmanager",
415 "-log.level": "warn",
416 "-alertmanager.enable-api": "true",
417 }, flags))...),
418 e2e.NewTCPReadinessProbe(httpPort),
419 httpPort,
420 grpcPort,
421 GossipPort,
422 )
423}
424
425func NewRuler(name string, consulAddress string, flags map[string]string, image string) *CortexService {
426 if image == "" {

Callers 1

TestRulerAlertmanagerTLSFunction · 0.92

Calls 6

BuildArgsFunction · 0.92
MergeFlagsFunction · 0.92
NewTCPReadinessProbeFunction · 0.92
GetDefaultImageFunction · 0.85
NewCortexServiceFunction · 0.85

Tested by 1

TestRulerAlertmanagerTLSFunction · 0.74