service

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	TemplatesService    domain.TemplatesService
	RulesService        domain.RuleService
	AlertmanagerService domain.AlertmanagerService
	AlertHistoryService domain.AlertHistoryService
}

func Init

func Init(db *gorm.DB, cortex domain.CortexConfig, siren domain.SirenServiceConfig, client *client.CortexClient) (*Container, error)

func (*Container) MigrateAll

func (container *Container) MigrateAll(db *gorm.DB) error

Jump to

Keyboard shortcuts

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