Versions in this module Expand all Collapse all v0 v0.9.0 Jun 15, 2015 Changes in this version + const ConstraintsSeparator + var ErrInvalidCPUShare = errors.New("CPUShare must be a value between 2 and 1024") + var ErrInvalidConstraint = errors.New("invalid constraints format") + var ErrInvalidMemory = errors.New("invalid memory format") + type CPUShare int + func NewCPUShare(i int) (CPUShare, error) + func ParseCPUShare(s string) (CPUShare, error) + type Constraints struct + func Parse(s string) (Constraints, error) + type Memory uint + func ParseMemory(s string) (Memory, error) + func (m Memory) String() string