Versions in this module Expand all Collapse all v0 v0.1.0 Dec 1, 2014 Changes in this version + var ErrBadSemVer = ACVersionError("SemVer is bad") + var ErrNoACKind = ACKindError("ACKind must be set") + var ErrNoEmptyUUID = errors.New("UUID cannot be empty") + var ErrNoZeroSemVer = ACVersionError("SemVer cannot be zero") + type ACKind string + func (a *ACKind) UnmarshalJSON(data []byte) error + func (a ACKind) MarshalJSON() ([]byte, error) + func (a ACKind) String() string + type ACKindError string + func (e ACKindError) Error() string + type ACName string + func NewACName(s string) (*ACName, error) + func (l *ACName) MarshalJSON() ([]byte, error) + func (l *ACName) UnmarshalJSON(data []byte) error + func (l ACName) Equals(o ACName) bool + func (l ACName) String() string + type ACNameError string + func (e ACNameError) Error() string + type ACVersionError string + func (e ACVersionError) Error() string + type AMStartedOnError string + func (e AMStartedOnError) Error() string + type Annotations map[ACName]string + func (a *Annotations) UnmarshalJSON(data []byte) error + func (a Annotations) MarshalJSON() ([]byte, error) + type Date time.Time + func NewDate(s string) (*Date, error) + func (d *Date) UnmarshalJSON(data []byte) error + func (d Date) MarshalJSON() ([]byte, error) + func (d Date) String() string + type EventHandler struct + Exec []string + Name string + func (e *EventHandler) UnmarshalJSON(data []byte) error + func (e EventHandler) MarshalJSON() ([]byte, error) + type Hash struct + Val string + func NewHash(s string) (*Hash, error) + func NewHashSHA256(b []byte) *Hash + func (h *Hash) UnmarshalJSON(data []byte) error + func (h Hash) MarshalJSON() ([]byte, error) + func (h Hash) String() string + type Isolator struct + Name ACName + Val string + type MountPoint struct + Name ACName + Path string + ReadOnly bool + type Port struct + Name ACName + Port uint + Protocol string + SocketActivated bool + type SemVer semver.Version + func NewSemVer(s string) (*SemVer, error) + func (sv *SemVer) UnmarshalJSON(data []byte) error + func (sv SemVer) Empty() bool + func (sv SemVer) MarshalJSON() ([]byte, error) + func (sv SemVer) String() string + type URL url.URL + func NewURL(s string) (*URL, error) + func (u *URL) UnmarshalJSON(data []byte) error + func (u URL) MarshalJSON() ([]byte, error) + func (u URL) String() string + type UUID [16]byte + func NewUUID(s string) (*UUID, error) + func (u *UUID) UnmarshalJSON(data []byte) error + func (u UUID) Empty() bool + func (u UUID) MarshalJSON() ([]byte, error) + func (u UUID) String() string + type Volume struct + Fulfills []ACName + Kind string + ReadOnly bool + Source string + func (v *Volume) UnmarshalJSON(data []byte) error + func (v Volume) MarshalJSON() ([]byte, error) v0.0.0 Nov 27, 2014