process

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Process

type Process interface {
	Start() error
	Stop() error
	IsRunning() (bool, error)
}

Process is an arbitrary process that can be started or stopped

func NewDocker

func NewDocker(containerName string) (Process, error)

NewDocker create a new docker process that manages a container

func NewPortainer

func NewPortainer(containerName, address, endpointID, username, password string) (Process, error)

NewPortainer creates a new portainer process that manages a docker container

Jump to

Keyboard shortcuts

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