Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllIDType = []IDType{ IDTypeProgram, IDTypeMap, }
View Source
var AllMapEntryFormat = []MapEntryFormat{ MapEntryFormatHex, MapEntryFormatString, MapEntryFormatNumber, }
Functions ¶
This section is empty.
Types ¶
type ConnectedGraph ¶ added in v0.0.3
type IDType ¶ added in v0.0.3
type IDType string
func (IDType) MarshalGQL ¶ added in v0.0.3
func (*IDType) UnmarshalGQL ¶ added in v0.0.3
type Map ¶
type Map struct {
ID int `json:"id"`
Error *string `json:"error,omitempty"`
Name *string `json:"name,omitempty"`
Type string `json:"type"`
Flags *int `json:"flags,omitempty"`
IsPinned *bool `json:"isPinned,omitempty"`
KeySize *int `json:"keySize,omitempty"`
ValueSize *int `json:"valueSize,omitempty"`
MaxEntries *int `json:"maxEntries,omitempty"`
IsPerCPU bool `json:"isPerCPU"`
IsLookupSupported bool `json:"isLookupSupported"`
Entries []*MapEntry `json:"entries"`
EntriesCount int `json:"entriesCount"`
Programs []*Program `json:"programs"`
}
type MapEntryFormat ¶
type MapEntryFormat string
const ( MapEntryFormatHex MapEntryFormat = "HEX" MapEntryFormatString MapEntryFormat = "STRING" MapEntryFormatNumber MapEntryFormat = "NUMBER" )
func (MapEntryFormat) IsValid ¶
func (e MapEntryFormat) IsValid() bool
func (MapEntryFormat) MarshalGQL ¶
func (e MapEntryFormat) MarshalGQL(w io.Writer)
func (MapEntryFormat) String ¶
func (e MapEntryFormat) String() string
func (*MapEntryFormat) UnmarshalGQL ¶
func (e *MapEntryFormat) UnmarshalGQL(v interface{}) error
type Program ¶
type Program struct {
ID int `json:"id"`
Error *string `json:"error,omitempty"`
Name *string `json:"name,omitempty"`
Type string `json:"type"`
Tag *string `json:"tag,omitempty"`
RunTime *float64 `json:"runTime,omitempty"`
RunCount *int `json:"runCount,omitempty"`
BtfID *int `json:"btfId,omitempty"`
VerifierLog *string `json:"verifierLog,omitempty"`
IsPinned *bool `json:"isPinned,omitempty"`
Maps []*Map `json:"maps"`
Tasks []*Task `json:"tasks"`
}
Click to show internal directories.
Click to hide internal directories.