envoy_config_common_tap_v2alpha

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthCommon = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCommon   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type AdminConfig

type AdminConfig struct {
	// Opaque configuration ID. When requests are made to the admin handler, the passed opaque ID is
	// matched to the configured filter opaque ID to determine which filter to configure.
	ConfigId             string   `protobuf:"bytes,1,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Configuration for the admin handler. See :ref:`here <config_http_filters_tap_admin_handler>` for more information.

func (*AdminConfig) Descriptor

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

func (*AdminConfig) GetConfigId

func (m *AdminConfig) GetConfigId() string

func (*AdminConfig) Marshal

func (m *AdminConfig) Marshal() (dAtA []byte, err error)

func (*AdminConfig) MarshalTo

func (m *AdminConfig) MarshalTo(dAtA []byte) (int, error)

func (*AdminConfig) ProtoMessage

func (*AdminConfig) ProtoMessage()

func (*AdminConfig) Reset

func (m *AdminConfig) Reset()

func (*AdminConfig) Size

func (m *AdminConfig) Size() (n int)

func (*AdminConfig) String

func (m *AdminConfig) String() string

func (*AdminConfig) Unmarshal

func (m *AdminConfig) Unmarshal(dAtA []byte) error

func (*AdminConfig) Validate

func (m *AdminConfig) Validate() error

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

func (*AdminConfig) XXX_DiscardUnknown

func (m *AdminConfig) XXX_DiscardUnknown()

func (*AdminConfig) XXX_Marshal

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

func (*AdminConfig) XXX_Merge

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

func (*AdminConfig) XXX_Size

func (m *AdminConfig) XXX_Size() int

func (*AdminConfig) XXX_Unmarshal

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

type AdminConfigValidationError

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

AdminConfigValidationError is the validation error returned by AdminConfig.Validate if the designated constraints aren't met.

func (AdminConfigValidationError) Cause

Cause function returns cause value.

func (AdminConfigValidationError) Error

Error satisfies the builtin error interface

func (AdminConfigValidationError) ErrorName added in v0.7.0

func (e AdminConfigValidationError) ErrorName() string

ErrorName returns error name.

func (AdminConfigValidationError) Field

Field function returns field value.

func (AdminConfigValidationError) Key

Key function returns key value.

func (AdminConfigValidationError) Reason

Reason function returns reason value.

type CommonExtensionConfig

type CommonExtensionConfig struct {
	// Types that are valid to be assigned to ConfigType:
	//	*CommonExtensionConfig_AdminConfig
	//	*CommonExtensionConfig_StaticConfig
	ConfigType           isCommonExtensionConfig_ConfigType `protobuf_oneof:"config_type"`
	XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
	XXX_unrecognized     []byte                             `json:"-"`
	XXX_sizecache        int32                              `json:"-"`
}

Common configuration for all tap extensions.

func (*CommonExtensionConfig) Descriptor

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

func (*CommonExtensionConfig) GetAdminConfig

func (m *CommonExtensionConfig) GetAdminConfig() *AdminConfig

func (*CommonExtensionConfig) GetConfigType

func (m *CommonExtensionConfig) GetConfigType() isCommonExtensionConfig_ConfigType

func (*CommonExtensionConfig) GetStaticConfig

func (m *CommonExtensionConfig) GetStaticConfig() *v2alpha.TapConfig

func (*CommonExtensionConfig) Marshal

func (m *CommonExtensionConfig) Marshal() (dAtA []byte, err error)

func (*CommonExtensionConfig) MarshalTo

func (m *CommonExtensionConfig) MarshalTo(dAtA []byte) (int, error)

func (*CommonExtensionConfig) ProtoMessage

func (*CommonExtensionConfig) ProtoMessage()

func (*CommonExtensionConfig) Reset

func (m *CommonExtensionConfig) Reset()

func (*CommonExtensionConfig) Size

func (m *CommonExtensionConfig) Size() (n int)

func (*CommonExtensionConfig) String

func (m *CommonExtensionConfig) String() string

func (*CommonExtensionConfig) Unmarshal

func (m *CommonExtensionConfig) Unmarshal(dAtA []byte) error

func (*CommonExtensionConfig) Validate

func (m *CommonExtensionConfig) Validate() error

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

func (*CommonExtensionConfig) XXX_DiscardUnknown

func (m *CommonExtensionConfig) XXX_DiscardUnknown()

func (*CommonExtensionConfig) XXX_Marshal

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

func (*CommonExtensionConfig) XXX_Merge

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

func (*CommonExtensionConfig) XXX_OneofFuncs

func (*CommonExtensionConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*CommonExtensionConfig) XXX_Size

func (m *CommonExtensionConfig) XXX_Size() int

func (*CommonExtensionConfig) XXX_Unmarshal

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

type CommonExtensionConfigValidationError

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

CommonExtensionConfigValidationError is the validation error returned by CommonExtensionConfig.Validate if the designated constraints aren't met.

func (CommonExtensionConfigValidationError) Cause

Cause function returns cause value.

func (CommonExtensionConfigValidationError) Error

Error satisfies the builtin error interface

func (CommonExtensionConfigValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (CommonExtensionConfigValidationError) Field

Field function returns field value.

func (CommonExtensionConfigValidationError) Key

Key function returns key value.

func (CommonExtensionConfigValidationError) Reason

Reason function returns reason value.

type CommonExtensionConfig_AdminConfig

type CommonExtensionConfig_AdminConfig struct {
	AdminConfig *AdminConfig `protobuf:"bytes,1,opt,name=admin_config,json=adminConfig,proto3,oneof"`
}

func (*CommonExtensionConfig_AdminConfig) MarshalTo

func (m *CommonExtensionConfig_AdminConfig) MarshalTo(dAtA []byte) (int, error)

func (*CommonExtensionConfig_AdminConfig) Size

func (m *CommonExtensionConfig_AdminConfig) Size() (n int)

type CommonExtensionConfig_StaticConfig

type CommonExtensionConfig_StaticConfig struct {
	StaticConfig *v2alpha.TapConfig `protobuf:"bytes,2,opt,name=static_config,json=staticConfig,proto3,oneof"`
}

func (*CommonExtensionConfig_StaticConfig) MarshalTo

func (m *CommonExtensionConfig_StaticConfig) MarshalTo(dAtA []byte) (int, error)

func (*CommonExtensionConfig_StaticConfig) Size

Jump to

Keyboard shortcuts

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