Documentation ¶
Index ¶
- func Create(opts SpecOptions) (string, error)
- func Inspect(service *entities.Service) (*swarm.Service, error)
- func LoadVolumeSizes(service *entities.Service)
- func Logs(service *entities.Service, linesCount int) ([]string, error)
- func Remove(service *entities.Service) error
- func Update(opts SpecOptions) error
- type SpecOptions
- type StatusStruct
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(opts SpecOptions) (string, error)
Create creates swarm service form Service entity
func LoadVolumeSizes ¶
LoadVolumeSizes loads volume sized into struct
Types ¶
type SpecOptions ¶
SpecOptions service create params
Click to show internal directories.
Click to hide internal directories.