Documentation ¶
Index ¶
- func GetNamedVolumesForService(service *config.Service) []string
- type Api
- func (d *Api) CheckNetwork() bool
- func (d *Api) Connect(name string, customPassword string, web bool) error
- func (d *Api) Create(name string) error
- func (d *Api) CreateNetwork() error
- func (d *Api) Exists(name string) bool
- func (d *Api) GetInfo(name string) ServiceInfo
- func (d *Api) ListAvailable() []ServiceInfo
- func (d *Api) ListCreated() []ServiceInfo
- func (d *Api) ListRunning() []ServiceInfo
- func (d *Api) ListStopped() []ServiceInfo
- func (d *Api) Remove(name string) error
- func (d *Api) RemoveVolumes(names []string)
- func (d *Api) Start(name string) error
- func (d *Api) Stop(name string) error
- type ServiceInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Api ¶
type Api struct {
// contains filtered or unexported fields
}
func (*Api) CheckNetwork ¶
func (*Api) CreateNetwork ¶
func (*Api) GetInfo ¶
func (d *Api) GetInfo(name string) ServiceInfo
func (*Api) ListAvailable ¶
func (d *Api) ListAvailable() []ServiceInfo
func (*Api) ListCreated ¶
func (d *Api) ListCreated() []ServiceInfo
func (*Api) ListRunning ¶
func (d *Api) ListRunning() []ServiceInfo
func (*Api) ListStopped ¶
func (d *Api) ListStopped() []ServiceInfo
func (*Api) RemoveVolumes ¶
Click to show internal directories.
Click to hide internal directories.