Documentation
¶
Index ¶
- type EnvoyConfig
- func (*EnvoyConfig) Descriptor() ([]byte, []int)
- func (m *EnvoyConfig) GetRootIds() []string
- func (*EnvoyConfig) ProtoMessage()
- func (m *EnvoyConfig) Reset()
- func (m *EnvoyConfig) String() string
- func (m *EnvoyConfig) XXX_DiscardUnknown()
- func (m *EnvoyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EnvoyConfig) XXX_Merge(src proto.Message)
- func (m *EnvoyConfig) XXX_Size() int
- func (m *EnvoyConfig) XXX_Unmarshal(b []byte) error
- type Runtime
- func (*Runtime) Descriptor() ([]byte, []int)
- func (m *Runtime) GetAbiVersions() []string
- func (m *Runtime) GetConfig() *EnvoyConfig
- func (m *Runtime) GetType() string
- func (*Runtime) ProtoMessage()
- func (m *Runtime) Reset()
- func (m *Runtime) String() string
- func (cfg *Runtime) ToBytes() ([]byte, error)
- func (m *Runtime) XXX_DiscardUnknown()
- func (m *Runtime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Runtime) XXX_Merge(src proto.Message)
- func (m *Runtime) XXX_Size() int
- func (m *Runtime) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvoyConfig ¶ added in v0.0.13
type EnvoyConfig struct {
// the set of root IDs exposed by the Envoy Filter
RootIds []string `protobuf:"bytes,1,rep,name=root_ids,json=rootIds,proto3" json:"root_ids,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
configuration for an Envoy Filter WASM Image
func (*EnvoyConfig) Descriptor ¶ added in v0.0.13
func (*EnvoyConfig) Descriptor() ([]byte, []int)
func (*EnvoyConfig) GetRootIds ¶ added in v0.0.13
func (m *EnvoyConfig) GetRootIds() []string
func (*EnvoyConfig) ProtoMessage ¶ added in v0.0.13
func (*EnvoyConfig) ProtoMessage()
func (*EnvoyConfig) XXX_DiscardUnknown ¶ added in v0.0.13
func (m *EnvoyConfig) XXX_DiscardUnknown()
func (*EnvoyConfig) XXX_Marshal ¶ added in v0.0.13
func (m *EnvoyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EnvoyConfig) XXX_Unmarshal ¶ added in v0.0.13
func (m *EnvoyConfig) XXX_Unmarshal(b []byte) error
type Runtime ¶ added in v0.0.13
type Runtime struct {
// the type of the runtime
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
// the compatible versions of the ABI of the target runtime
// this may be different than the version of the runtime itself
// this is used to ensure compatibility with the runtime
AbiVersions []string `protobuf:"bytes,2,rep,name=abi_versions,json=abiVersions,proto3" json:"abi_versions,omitempty"`
// the config for running the module
// currently, wasme only supports Envoy config
Config *EnvoyConfig `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Runtime Configuration for a WASM OCI Image. This configuration is bundled with the WASM image at build time.
Example:
```json
{
"type": "envoy_proxy",
"abiVersions": ["v0-541b2c1155fffb15ccde92b8324f3e38f7339ba6"],
"config": {
"rootIds": [
"add_header_root_id"
]
}
}
```
func FromReader ¶
func FromReader(r io.Reader) (*Runtime, error)
func (*Runtime) Descriptor ¶ added in v0.0.13
func (*Runtime) Descriptor() ([]byte, []int)
func (*Runtime) GetAbiVersions ¶ added in v0.0.13
func (m *Runtime) GetAbiVersions() []string
func (*Runtime) ProtoMessage ¶ added in v0.0.13
func (*Runtime) ProtoMessage()
func (*Runtime) XXX_DiscardUnknown ¶ added in v0.0.13
func (m *Runtime) XXX_DiscardUnknown()
func (*Runtime) XXX_Marshal ¶ added in v0.0.13
func (m *Runtime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Runtime) XXX_Unmarshal ¶ added in v0.0.13
func (m *Runtime) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.