Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶ added in v0.6.0
Group store name and list of services
func (Group) GetResources ¶ added in v0.6.0
GetResources returns list of resources in a group
type Service ¶ added in v0.6.0
type Service struct { Name string Image string Command []string Args []string Env []string Resources types.ResourceUnits Count uint32 Expose []ServiceExpose }
Service stores name, image, args, env, unit, count and expose list of service
func (Service) GetResourceUnits ¶ added in v0.9.1
func (s Service) GetResourceUnits() types.ResourceUnits
GetResourcesUnit returns resources unit of service
Click to show internal directories.
Click to hide internal directories.