docker

package
v0.0.0-...-0794014 Latest Latest
Warning

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

Go to latest
Published: May 3, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetServices

func GetServices() ([]swarm.Service, error)

GetServices returns a list of running Docker swarm services

func RemoveService

func RemoveService(serviceNameOrID string) error

func ServiceExists

func ServiceExists(services []swarm.Service, serviceName string) bool

ServiceExists verifies if a specified service is running in the Docker swarm

func UpdateService

func UpdateService(serviceNameOrID, jenkinsImage string, forceUpdate bool) error

UpdateService updates a specified Docker swarm service

Types

This section is empty.

Jump to

Keyboard shortcuts

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