envoy_config_wasm_v2alpha

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PluginConfig

type PluginConfig struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	// Types that are valid to be assigned to VmConfig:
	//	*PluginConfig_InlineVmConfig
	VmConfig             isPluginConfig_VmConfig `protobuf_oneof:"vm_config"`
	Configuration        *any.Any                `protobuf:"bytes,5,opt,name=configuration,proto3" json:"configuration,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*PluginConfig) Descriptor

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

func (*PluginConfig) GetConfiguration

func (m *PluginConfig) GetConfiguration() *any.Any

func (*PluginConfig) GetGroupName

func (m *PluginConfig) GetGroupName() string

func (*PluginConfig) GetInlineVmConfig

func (m *PluginConfig) GetInlineVmConfig() *VmConfig

func (*PluginConfig) GetName

func (m *PluginConfig) GetName() string

func (*PluginConfig) GetVmConfig

func (m *PluginConfig) GetVmConfig() isPluginConfig_VmConfig

func (*PluginConfig) ProtoMessage

func (*PluginConfig) ProtoMessage()

func (*PluginConfig) Reset

func (m *PluginConfig) Reset()

func (*PluginConfig) String

func (m *PluginConfig) String() string

func (*PluginConfig) Validate

func (m *PluginConfig) Validate() error

Validate checks the field values on PluginConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*PluginConfig) XXX_DiscardUnknown

func (m *PluginConfig) XXX_DiscardUnknown()

func (*PluginConfig) XXX_Marshal

func (m *PluginConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PluginConfig) XXX_Merge

func (m *PluginConfig) XXX_Merge(src proto.Message)

func (*PluginConfig) XXX_OneofWrappers

func (*PluginConfig) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*PluginConfig) XXX_Size

func (m *PluginConfig) XXX_Size() int

func (*PluginConfig) XXX_Unmarshal

func (m *PluginConfig) XXX_Unmarshal(b []byte) error

type PluginConfigValidationError

type PluginConfigValidationError struct {
	// contains filtered or unexported fields
}

PluginConfigValidationError is the validation error returned by PluginConfig.Validate if the designated constraints aren't met.

func (PluginConfigValidationError) Cause

Cause function returns cause value.

func (PluginConfigValidationError) Error

Error satisfies the builtin error interface

func (PluginConfigValidationError) ErrorName

func (e PluginConfigValidationError) ErrorName() string

ErrorName returns error name.

func (PluginConfigValidationError) Field

Field function returns field value.

func (PluginConfigValidationError) Key

Key function returns key value.

func (PluginConfigValidationError) Reason

Reason function returns reason value.

type PluginConfig_InlineVmConfig

type PluginConfig_InlineVmConfig struct {
	InlineVmConfig *VmConfig `protobuf:"bytes,3,opt,name=inline_vm_config,json=inlineVmConfig,proto3,oneof"`
}

type VmConfig

type VmConfig struct {
	VmId                 string                `protobuf:"bytes,1,opt,name=vm_id,json=vmId,proto3" json:"vm_id,omitempty"`
	Runtime              string                `protobuf:"bytes,2,opt,name=runtime,proto3" json:"runtime,omitempty"`
	Code                 *core.AsyncDataSource `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
	Configuration        *any.Any              `protobuf:"bytes,4,opt,name=configuration,proto3" json:"configuration,omitempty"`
	AllowPrecompiled     bool                  `protobuf:"varint,5,opt,name=allow_precompiled,json=allowPrecompiled,proto3" json:"allow_precompiled,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*VmConfig) Descriptor

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

func (*VmConfig) GetAllowPrecompiled

func (m *VmConfig) GetAllowPrecompiled() bool

func (*VmConfig) GetCode

func (m *VmConfig) GetCode() *core.AsyncDataSource

func (*VmConfig) GetConfiguration

func (m *VmConfig) GetConfiguration() *any.Any

func (*VmConfig) GetRuntime

func (m *VmConfig) GetRuntime() string

func (*VmConfig) GetVmId

func (m *VmConfig) GetVmId() string

func (*VmConfig) ProtoMessage

func (*VmConfig) ProtoMessage()

func (*VmConfig) Reset

func (m *VmConfig) Reset()

func (*VmConfig) String

func (m *VmConfig) String() string

func (*VmConfig) Validate

func (m *VmConfig) Validate() error

Validate checks the field values on VmConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*VmConfig) XXX_DiscardUnknown

func (m *VmConfig) XXX_DiscardUnknown()

func (*VmConfig) XXX_Marshal

func (m *VmConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VmConfig) XXX_Merge

func (m *VmConfig) XXX_Merge(src proto.Message)

func (*VmConfig) XXX_Size

func (m *VmConfig) XXX_Size() int

func (*VmConfig) XXX_Unmarshal

func (m *VmConfig) XXX_Unmarshal(b []byte) error

type VmConfigValidationError

type VmConfigValidationError struct {
	// contains filtered or unexported fields
}

VmConfigValidationError is the validation error returned by VmConfig.Validate if the designated constraints aren't met.

func (VmConfigValidationError) Cause

func (e VmConfigValidationError) Cause() error

Cause function returns cause value.

func (VmConfigValidationError) Error

func (e VmConfigValidationError) Error() string

Error satisfies the builtin error interface

func (VmConfigValidationError) ErrorName

func (e VmConfigValidationError) ErrorName() string

ErrorName returns error name.

func (VmConfigValidationError) Field

func (e VmConfigValidationError) Field() string

Field function returns field value.

func (VmConfigValidationError) Key

func (e VmConfigValidationError) Key() bool

Key function returns key value.

func (VmConfigValidationError) Reason

func (e VmConfigValidationError) Reason() string

Reason function returns reason value.

type WasmService

type WasmService struct {
	Config               *PluginConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	Singleton            bool          `protobuf:"varint,2,opt,name=singleton,proto3" json:"singleton,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*WasmService) Descriptor

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

func (*WasmService) GetConfig

func (m *WasmService) GetConfig() *PluginConfig

func (*WasmService) GetSingleton

func (m *WasmService) GetSingleton() bool

func (*WasmService) ProtoMessage

func (*WasmService) ProtoMessage()

func (*WasmService) Reset

func (m *WasmService) Reset()

func (*WasmService) String

func (m *WasmService) String() string

func (*WasmService) Validate

func (m *WasmService) Validate() error

Validate checks the field values on WasmService with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*WasmService) XXX_DiscardUnknown

func (m *WasmService) XXX_DiscardUnknown()

func (*WasmService) XXX_Marshal

func (m *WasmService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WasmService) XXX_Merge

func (m *WasmService) XXX_Merge(src proto.Message)

func (*WasmService) XXX_Size

func (m *WasmService) XXX_Size() int

func (*WasmService) XXX_Unmarshal

func (m *WasmService) XXX_Unmarshal(b []byte) error

type WasmServiceValidationError

type WasmServiceValidationError struct {
	// contains filtered or unexported fields
}

WasmServiceValidationError is the validation error returned by WasmService.Validate if the designated constraints aren't met.

func (WasmServiceValidationError) Cause

Cause function returns cause value.

func (WasmServiceValidationError) Error

Error satisfies the builtin error interface

func (WasmServiceValidationError) ErrorName

func (e WasmServiceValidationError) ErrorName() string

ErrorName returns error name.

func (WasmServiceValidationError) Field

Field function returns field value.

func (WasmServiceValidationError) Key

Key function returns key value.

func (WasmServiceValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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