deployer

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package deployer deploys and starts system services by using api and provides ids of services by their names.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deployer

type Deployer struct {
	// contains filtered or unexported fields
}

Deployer deploys and starts system services by using api and provides ids of services by their names.

func New

func New(api *api.API, systemServicesPath string, ss *systemservices.SystemServices) *Deployer

New creates a new Deployer. It accepts an instance of the api package. It accepts the system services path.

func (*Deployer) Deploy

func (d *Deployer) Deploy(services []string) error

Deploy deploys and starts system services from given services list. It waits for all system services to run. If services are not found, it should return an error. If services doesn't start properly, it should return an error.

Jump to

Keyboard shortcuts

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