envoy_config_common_tap_v2alpha

package
v0.9.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_config_common_tap_v2alpha_common_proto protoreflect.FileDescriptor

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"`
	// contains filtered or unexported fields
}

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

func (*AdminConfig) Descriptor deprecated

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

Deprecated: Use AdminConfig.ProtoReflect.Descriptor instead.

func (*AdminConfig) GetConfigId

func (x *AdminConfig) GetConfigId() string

func (*AdminConfig) ProtoMessage

func (*AdminConfig) ProtoMessage()

func (*AdminConfig) ProtoReflect added in v0.9.9

func (x *AdminConfig) ProtoReflect() protoreflect.Message

func (*AdminConfig) Reset

func (x *AdminConfig) Reset()

func (*AdminConfig) String

func (x *AdminConfig) String() string

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.

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 assignable to ConfigType:
	//	*CommonExtensionConfig_AdminConfig
	//	*CommonExtensionConfig_StaticConfig
	ConfigType isCommonExtensionConfig_ConfigType `protobuf_oneof:"config_type"`
	// contains filtered or unexported fields
}

Common configuration for all tap extensions.

func (*CommonExtensionConfig) Descriptor deprecated

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

Deprecated: Use CommonExtensionConfig.ProtoReflect.Descriptor instead.

func (*CommonExtensionConfig) GetAdminConfig

func (x *CommonExtensionConfig) GetAdminConfig() *AdminConfig

func (*CommonExtensionConfig) GetConfigType

func (m *CommonExtensionConfig) GetConfigType() isCommonExtensionConfig_ConfigType

func (*CommonExtensionConfig) GetStaticConfig

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

func (*CommonExtensionConfig) ProtoMessage

func (*CommonExtensionConfig) ProtoMessage()

func (*CommonExtensionConfig) ProtoReflect added in v0.9.9

func (x *CommonExtensionConfig) ProtoReflect() protoreflect.Message

func (*CommonExtensionConfig) Reset

func (x *CommonExtensionConfig) Reset()

func (*CommonExtensionConfig) String

func (x *CommonExtensionConfig) String() string

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.

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 {
	// If specified, the tap filter will be configured via an admin handler.
	AdminConfig *AdminConfig `protobuf:"bytes,1,opt,name=admin_config,json=adminConfig,proto3,oneof"`
}

type CommonExtensionConfig_StaticConfig

type CommonExtensionConfig_StaticConfig struct {
	// If specified, the tap filter will be configured via a static configuration that cannot be
	// changed.
	StaticConfig *v2alpha.TapConfig `protobuf:"bytes,2,opt,name=static_config,json=staticConfig,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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