Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnableToPingEndpoint = errors.New("Unable to communicate with the environment")
)
Docker errors
Functions ¶
This section is empty.
Types ¶
type ContainerService ¶
type ContainerService struct {
// contains filtered or unexported fields
}
func NewContainerService ¶
func NewContainerService(factory *dockerclient.ClientFactory, dataStore dataservices.DataStore) *ContainerService
type Snapshotter ¶
type Snapshotter struct {
// contains filtered or unexported fields
}
Snapshotter represents a service used to create environment(endpoint) snapshots
func NewSnapshotter ¶
func NewSnapshotter(clientFactory *dockerclient.ClientFactory) *Snapshotter
NewSnapshotter returns a new Snapshotter instance
func (*Snapshotter) CreateSnapshot ¶
func (snapshotter *Snapshotter) CreateSnapshot(endpoint *portainer.Endpoint) (*portainer.DockerSnapshot, error)
CreateSnapshot creates a snapshot of a specific Docker environment(endpoint)
Click to show internal directories.
Click to hide internal directories.