manager

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	// Start starts service and returns service ids related to service.
	Start(s *service.Service) (serviceIDs []string, err error)

	// Stop stops service.
	Stop(s *service.Service) error

	// Status gives status of service.
	Status(s *service.Service) (service.StatusType, error)

	// Logs gives log streams of service.
	Logs(s *service.Service, dependencies ...string) ([]*service.Log, error)

	// Delete deletes anything related to service and its persistent data.
	Delete(s *service.Service) error
}

Manager is responsible for managing Docker Containers of MESG services. it can be implemented for any container orchestration tool.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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