tapv2alpha

package
v1.36.3-20230707203701... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const CommonExtensionConfig_AdminConfig_case case_CommonExtensionConfig_ConfigType = 1
View Source
const CommonExtensionConfig_ConfigType_not_set_case case_CommonExtensionConfig_ConfigType = 0
View Source
const CommonExtensionConfig_StaticConfig_case case_CommonExtensionConfig_ConfigType = 2

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) GetConfigId

func (x *AdminConfig) GetConfigId() string

func (*AdminConfig) ProtoMessage

func (*AdminConfig) ProtoMessage()

func (*AdminConfig) ProtoReflect

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

func (*AdminConfig) Reset

func (x *AdminConfig) Reset()

func (*AdminConfig) SetConfigId

func (x *AdminConfig) SetConfigId(v string)

func (*AdminConfig) String

func (x *AdminConfig) String() string

type AdminConfig_builder

type AdminConfig_builder 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
	// contains filtered or unexported fields
}

func (AdminConfig_builder) Build

func (b0 AdminConfig_builder) Build() *AdminConfig

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

Common configuration for all tap extensions.

func (*CommonExtensionConfig) ClearAdminConfig

func (x *CommonExtensionConfig) ClearAdminConfig()

func (*CommonExtensionConfig) ClearConfigType

func (x *CommonExtensionConfig) ClearConfigType()

func (*CommonExtensionConfig) ClearStaticConfig

func (x *CommonExtensionConfig) ClearStaticConfig()

func (*CommonExtensionConfig) GetAdminConfig

func (x *CommonExtensionConfig) GetAdminConfig() *AdminConfig

func (*CommonExtensionConfig) GetConfigType

func (x *CommonExtensionConfig) GetConfigType() isCommonExtensionConfig_ConfigType

func (*CommonExtensionConfig) GetStaticConfig

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

func (*CommonExtensionConfig) HasAdminConfig

func (x *CommonExtensionConfig) HasAdminConfig() bool

func (*CommonExtensionConfig) HasConfigType

func (x *CommonExtensionConfig) HasConfigType() bool

func (*CommonExtensionConfig) HasStaticConfig

func (x *CommonExtensionConfig) HasStaticConfig() bool

func (*CommonExtensionConfig) ProtoMessage

func (*CommonExtensionConfig) ProtoMessage()

func (*CommonExtensionConfig) ProtoReflect

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

func (*CommonExtensionConfig) Reset

func (x *CommonExtensionConfig) Reset()

func (*CommonExtensionConfig) SetAdminConfig

func (x *CommonExtensionConfig) SetAdminConfig(v *AdminConfig)

func (*CommonExtensionConfig) SetStaticConfig

func (x *CommonExtensionConfig) SetStaticConfig(v *v2alpha.TapConfig)

func (*CommonExtensionConfig) String

func (x *CommonExtensionConfig) String() string

func (*CommonExtensionConfig) WhichConfigType

func (x *CommonExtensionConfig) WhichConfigType() case_CommonExtensionConfig_ConfigType

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"`
}

type CommonExtensionConfig_builder

type CommonExtensionConfig_builder struct {

	// Fields of oneof ConfigType:
	// If specified, the tap filter will be configured via an admin handler.
	AdminConfig *AdminConfig
	// If specified, the tap filter will be configured via a static configuration that cannot be
	// changed.
	StaticConfig *v2alpha.TapConfig
	// contains filtered or unexported fields
}

func (CommonExtensionConfig_builder) Build

Jump to

Keyboard shortcuts

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