Documentation ¶
Index ¶
- Variables
- type PluginSource
- func (*PluginSource) Descriptor() ([]byte, []int)
- func (this *PluginSource) Equal(that interface{}) bool
- func (m *PluginSource) GetConfig() string
- func (m *PluginSource) GetImage() string
- func (m *PluginSource) GetName() string
- func (m *PluginSource) GetRootId() string
- func (m *PluginSource) GetVmType() PluginSource_VmType
- func (m *PluginSource) Hash(hasher hash.Hash64) (uint64, error)
- func (*PluginSource) ProtoMessage()
- func (m *PluginSource) Reset()
- func (m *PluginSource) String() string
- func (m *PluginSource) XXX_DiscardUnknown()
- func (m *PluginSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PluginSource) XXX_Merge(src proto.Message)
- func (m *PluginSource) XXX_Size() int
- func (m *PluginSource) XXX_Unmarshal(b []byte) error
- type PluginSource_VmType
Constants ¶
This section is empty.
Variables ¶
View Source
var PluginSource_VmType_name = map[int32]string{
0: "V8",
1: "WAVM",
}
View Source
var PluginSource_VmType_value = map[string]int32{
"V8": 0,
"WAVM": 1,
}
Functions ¶
This section is empty.
Types ¶
type PluginSource ¶
type PluginSource struct { // name of image which houses the compiled wasm filter Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` // string of the config sent to the wasm filter // Currently has to be json or will crash Config string `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"` Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` RootId string `protobuf:"bytes,6,opt,name=root_id,json=rootId,proto3" json:"root_id,omitempty"` VmType PluginSource_VmType `` /* 131-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PluginSource) Descriptor ¶
func (*PluginSource) Descriptor() ([]byte, []int)
func (*PluginSource) Equal ¶
func (this *PluginSource) Equal(that interface{}) bool
func (*PluginSource) GetConfig ¶
func (m *PluginSource) GetConfig() string
func (*PluginSource) GetImage ¶
func (m *PluginSource) GetImage() string
func (*PluginSource) GetName ¶
func (m *PluginSource) GetName() string
func (*PluginSource) GetRootId ¶
func (m *PluginSource) GetRootId() string
func (*PluginSource) GetVmType ¶
func (m *PluginSource) GetVmType() PluginSource_VmType
func (*PluginSource) Hash ¶ added in v1.2.13
func (m *PluginSource) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*PluginSource) ProtoMessage ¶
func (*PluginSource) ProtoMessage()
func (*PluginSource) Reset ¶
func (m *PluginSource) Reset()
func (*PluginSource) String ¶
func (m *PluginSource) String() string
func (*PluginSource) XXX_DiscardUnknown ¶
func (m *PluginSource) XXX_DiscardUnknown()
func (*PluginSource) XXX_Marshal ¶
func (m *PluginSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PluginSource) XXX_Merge ¶
func (m *PluginSource) XXX_Merge(src proto.Message)
func (*PluginSource) XXX_Size ¶
func (m *PluginSource) XXX_Size() int
func (*PluginSource) XXX_Unmarshal ¶
func (m *PluginSource) XXX_Unmarshal(b []byte) error
type PluginSource_VmType ¶
type PluginSource_VmType int32
const ( PluginSource_V8 PluginSource_VmType = 0 PluginSource_WAVM PluginSource_VmType = 1 )
func (PluginSource_VmType) EnumDescriptor ¶
func (PluginSource_VmType) EnumDescriptor() ([]byte, []int)
func (PluginSource_VmType) String ¶
func (x PluginSource_VmType) String() string
Click to show internal directories.
Click to hide internal directories.