Skip to content

Commit

Permalink
Document ID property of CapabilityInfo (#492)
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryNguyen5 committed May 8, 2024
1 parent 569a909 commit c503b3c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/capabilities/capabilities.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,11 @@ type DON struct {

// CapabilityInfo is a struct for the info of a capability.
type CapabilityInfo struct {
// The capability ID is a fully qualified identifier for the capability.
//
// It takes the form of `{name}:{label1_key}_{labe1_value}:{label2_key}_{label2_value}@{version}`
//
// The labels within the ID are ordered alphanumerically.
ID string
CapabilityType CapabilityType
Description string
Expand Down

0 comments on commit c503b3c

Please sign in to comment.