generator

package
v0.0.0-...-98208a5 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2020 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Overview

Package generator is a generated protocol buffer package.

It is generated from these files:

config.proto

It has these top-level messages:

Event
Config

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateBpfSources

func GenerateBpfSources(configPath string, tpl string, destDir string) error

Types

type Config

type Config struct {
	Event []*Event `protobuf:"bytes,1,rep,name=event" json:"event,omitempty"`
}

func (*Config) Descriptor

func (*Config) Descriptor() ([]byte, []int)

func (*Config) GetEvent

func (m *Config) GetEvent() []*Event

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) Reset

func (m *Config) Reset()

func (*Config) String

func (m *Config) String() string

type Event

type Event struct {
	Name string        `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Args []*Event_Args `protobuf:"bytes,2,rep,name=args" json:"args,omitempty"`
}

func (*Event) Descriptor

func (*Event) Descriptor() ([]byte, []int)

func (*Event) GetArgs

func (m *Event) GetArgs() []*Event_Args

func (*Event) GetName

func (m *Event) GetName() string

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) String

func (m *Event) String() string

type Event_Args

type Event_Args struct {
	Position uint32 `protobuf:"varint,1,opt,name=position" json:"position,omitempty"`
	Type     string `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"`
	Name     string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
	Suffix   string `protobuf:"bytes,4,opt,name=suffix" json:"suffix,omitempty"`
	HashFunc string `protobuf:"bytes,5,opt,name=hashFunc" json:"hashFunc,omitempty"`
}

func (*Event_Args) Descriptor

func (*Event_Args) Descriptor() ([]byte, []int)

func (*Event_Args) GetHashFunc

func (m *Event_Args) GetHashFunc() string

func (*Event_Args) GetName

func (m *Event_Args) GetName() string

func (*Event_Args) GetPosition

func (m *Event_Args) GetPosition() uint32

func (*Event_Args) GetSuffix

func (m *Event_Args) GetSuffix() string

func (*Event_Args) GetType

func (m *Event_Args) GetType() string

func (*Event_Args) ProtoMessage

func (*Event_Args) ProtoMessage()

func (*Event_Args) Reset

func (m *Event_Args) Reset()

func (*Event_Args) String

func (m *Event_Args) String() string

Jump to

Keyboard shortcuts

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