docker

package
v0.0.0-...-576d0f4 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2018 License: MIT Imports: 6 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 {
	Client *client.Client
}

func New

func New(host string) (*Service, error)

func (*Service) GetServices

func (s *Service) GetServices(jobName string) ([]swarm.Service, error)

func (*Service) GetTasks

func (s *Service) GetTasks(jobName string) ([]swarm.Task, error)

func (*Service) RemoveServices

func (s *Service) RemoveServices(jobName string) error

type Servicer

type Servicer interface {
	GetServices(jobName string) ([]swarm.Service, error)
	GetTasks(jobName string) ([]swarm.Task, error)
	RemoveServices(jobName string) error
}

Jump to

Keyboard shortcuts

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