service

package
v0.1.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2018 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Name  string   `yaml:"name"`
	Image string   `yaml:"image"`
	Ports []string `yaml:"ports,omitempty"`
	Cmd   string   `yaml:"cmd,omitempty"`
}

Service represents a container that can be run during a stage.

func (*Service) Rm

func (s *Service) Rm()

Rm forcefully removes the service.

func (*Service) Start

func (s *Service) Start() error

Start starts the service.

func (*Service) Stop

func (s *Service) Stop()

Stop stops the service.

Jump to

Keyboard shortcuts

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