go-control-plane: github.com/envoyproxy/go-control-plane/envoy/extensions/common/tap/v3 Index | Files

package envoy_extensions_common_tap_v3

import "github.com/envoyproxy/go-control-plane/envoy/extensions/common/tap/v3"

Index

Package Files

common.pb.go common.pb.validate.go

Variables

var File_envoy_extensions_common_tap_v3_common_proto protoreflect.FileDescriptor

type AdminConfig Uses

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 Uses

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

Deprecated: Use AdminConfig.ProtoReflect.Descriptor instead.

func (*AdminConfig) GetConfigId Uses

func (x *AdminConfig) GetConfigId() string

func (*AdminConfig) ProtoMessage Uses

func (*AdminConfig) ProtoMessage()

func (*AdminConfig) ProtoReflect Uses

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

func (*AdminConfig) Reset Uses

func (x *AdminConfig) Reset()

func (*AdminConfig) String Uses

func (x *AdminConfig) String() string

func (*AdminConfig) Validate Uses

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 Uses

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 Uses

func (e AdminConfigValidationError) Cause() error

Cause function returns cause value.

func (AdminConfigValidationError) Error Uses

func (e AdminConfigValidationError) Error() string

Error satisfies the builtin error interface

func (AdminConfigValidationError) ErrorName Uses

func (e AdminConfigValidationError) ErrorName() string

ErrorName returns error name.

func (AdminConfigValidationError) Field Uses

func (e AdminConfigValidationError) Field() string

Field function returns field value.

func (AdminConfigValidationError) Key Uses

func (e AdminConfigValidationError) Key() bool

Key function returns key value.

func (AdminConfigValidationError) Reason Uses

func (e AdminConfigValidationError) Reason() string

Reason function returns reason value.

type CommonExtensionConfig Uses

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 Uses

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

Deprecated: Use CommonExtensionConfig.ProtoReflect.Descriptor instead.

func (*CommonExtensionConfig) GetAdminConfig Uses

func (x *CommonExtensionConfig) GetAdminConfig() *AdminConfig

func (*CommonExtensionConfig) GetConfigType Uses

func (m *CommonExtensionConfig) GetConfigType() isCommonExtensionConfig_ConfigType

func (*CommonExtensionConfig) GetStaticConfig Uses

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

func (*CommonExtensionConfig) ProtoMessage Uses

func (*CommonExtensionConfig) ProtoMessage()

func (*CommonExtensionConfig) ProtoReflect Uses

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

func (*CommonExtensionConfig) Reset Uses

func (x *CommonExtensionConfig) Reset()

func (*CommonExtensionConfig) String Uses

func (x *CommonExtensionConfig) String() string

func (*CommonExtensionConfig) Validate Uses

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 Uses

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 Uses

func (e CommonExtensionConfigValidationError) Cause() error

Cause function returns cause value.

func (CommonExtensionConfigValidationError) Error Uses

func (e CommonExtensionConfigValidationError) Error() string

Error satisfies the builtin error interface

func (CommonExtensionConfigValidationError) ErrorName Uses

func (e CommonExtensionConfigValidationError) ErrorName() string

ErrorName returns error name.

func (CommonExtensionConfigValidationError) Field Uses

func (e CommonExtensionConfigValidationError) Field() string

Field function returns field value.

func (CommonExtensionConfigValidationError) Key Uses

func (e CommonExtensionConfigValidationError) Key() bool

Key function returns key value.

func (CommonExtensionConfigValidationError) Reason Uses

func (e CommonExtensionConfigValidationError) Reason() string

Reason function returns reason value.

type CommonExtensionConfig_AdminConfig Uses

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 Uses

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

Package envoy_extensions_common_tap_v3 imports 19 packages (graph) and is imported by 9 packages. Updated 2021-01-07. Refresh now. Tools for package owners.