Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ExportedProduct string
ExportedProduct is the name of the product using this package. Users vendoring this library may override it to provide better versioning hints for their users (or set it with a flag to shipyard).
Functions ¶
This section is empty.
Types ¶
type Cap ¶
type Cap struct { ID CapID Name string // readable name, may contain spaces but keep in one sentence Status CapStatus Enabled bool Deprecated bool SupportedHint map[string]string DisabledReason string DisabledReasonMsg string DisabledAlternative string }
Cap describes an API feature
type CapList ¶
type CapList struct {
// contains filtered or unexported fields
}
CapList is a collection of capability definitions
type CapSet ¶
type CapSet struct {
// contains filtered or unexported fields
}
CapSet is a configuration for detecting supported capabilities
type CapStatus ¶
type CapStatus int
CapStatus defines the stability properties of a capability
const ( // CapStatusStable refers to a capability that should never be changed in // backwards incompatible manner unless there is a serious security issue. CapStatusStable CapStatus = iota // CapStatusExperimental refers to a capability that may be removed in the future. // If incompatible changes are made the previous ID is disabled and new is added. CapStatusExperimental // CapStatusPrerelease is same as CapStatusExperimental that can be used for new // features before they move to stable. CapStatusPrerelease )
Click to show internal directories.
Click to hide internal directories.