Documentation ¶
Index ¶
- func DeleteNetwork(appName string) error
- func GetImageDigest(baseImage string) (string, error)
- func GetNextFreePorts(count int) ([]uint32, error)
- func GetRunningService(appName string) (*swarm.Service, error)
- func IsServiceRunning(appName string) bool
- func PullImage(baseImage string) error
- func StartService(serviceSpec swarm.ServiceSpec, options types.ServiceCreateOptions) error
- func StopService(serviceName string) error
- func SwarmInfo() *swarm.Swarm
- func UpdateService(existingService *swarm.Service, newServiceSpec *swarm.ServiceSpec) error
- func UpsertNetwork(networkName string) error
- func Version() *string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteNetwork ¶
func GetImageDigest ¶
func GetNextFreePorts ¶
func IsServiceRunning ¶
func StartService ¶
func StartService(serviceSpec swarm.ServiceSpec, options types.ServiceCreateOptions) error
func StopService ¶
func UpdateService ¶
func UpdateService(existingService *swarm.Service, newServiceSpec *swarm.ServiceSpec) error
func UpsertNetwork ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.