Versions in this module Expand all Collapse all v1 v1.6.0 May 27, 2026 Changes in this version + var ErrNameEmpty = errors.New("component manager capability name is empty") + var ErrUnknown = errors.New("unknown component manager capability") + type Capability string + const CapabilityBringUpControl + const CapabilityBringUpStatus + const CapabilityFirmwareConsistencyCheck + const CapabilityFirmwareControl + const CapabilityFirmwareStatus + const CapabilityInjectExpectation + const CapabilityPowerControl + const CapabilityPowerStatus + func Parse(name string) (Capability, error) + func (c Capability) String() string + func (c Capability) Valid() bool + type CapabilitySet []Capability + func NewSet(capabilities ...Capability) (CapabilitySet, error) + func (s CapabilitySet) Add(capability Capability) (CapabilitySet, error) + func (s CapabilitySet) Clone() CapabilitySet + func (s CapabilitySet) Contains(capability Capability) bool + func (s CapabilitySet) Normalize() (CapabilitySet, error) + func (s CapabilitySet) Sorted() CapabilitySet + func (s CapabilitySet) Strings() []string + type NameEmptyError struct + func (e NameEmptyError) Error() string + func (e NameEmptyError) Is(target error) bool + type UnknownError struct + Capability Capability + func (e UnknownError) Error() string + func (e UnknownError) Is(target error) bool