model

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

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 MapEntry

type MapEntry struct {
	Key       string   `json:"key"`
	Value     *string  `json:"value,omitempty"`
	CPUValues []string `json:"cpuValues"`
}

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL