Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogWriterService ¶
type LogWriterService interface { // InstallOrUpgrade creates a new log writer deployment InstallOrUpgrade(projectName string, logWriter *model.LogWriter) (*model.LogWriter, error) // Uninstall uninstalls an existing log writer deployment Uninstall(projectName string, logWriter *model.LogWriter) (*model.LogWriter, error) }
LogWriterService provides a set of methods for controlling the log writer's deployment
func NewLogWriterService ¶
func NewLogWriterService(commonDeployConfig *config.CommonDeploymentConfig, logWriterConfig *config.LogWriterConfig) (LogWriterService, error)
NewLogWriterService create a new instance of log writer service
type ObservationService ¶
type ObservationService interface { // InstallOrUpgrade install or update an existing Observation Service InstallOrUpgrade(projectName string, svc *model.ObservationService) (*model.ObservationService, error) // Uninstall uninstalls existing Observation Service Helm release Uninstall(projectName string, svc *model.ObservationService) (*model.ObservationService, error) }
ObservationService provides a set of methods for controlling observation log's deployment
func NewObservationService ¶
func NewObservationService( commonDeployConfig *config.CommonDeploymentConfig, observationServiceConfig *config.ObservationServiceConfig, ) (ObservationService, error)
NewObservationService instantiates ObservationService
type Services ¶
type Services struct { MLPService mlp.Client ObservationService ObservationService LogWriterService LogWriterService }
Services contain all instantiated Service layer interfaces
func NewServices ¶
func NewServices( mlpSvc mlp.Client, obsSvc ObservationService, logWriterSvc LogWriterService, ) Services
NewServices instantiates Services
Click to show internal directories.
Click to hide internal directories.