envoy_config_common_tap_v2alpha

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2019 License: Apache-2.0 Imports: 18 Imported by: 29

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
	//	*CommonExtensionConfig_TapdsConfig
	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) GetTapdsConfig added in v0.8.2

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

type CommonExtensionConfig_TapDSConfig added in v0.8.2

type CommonExtensionConfig_TapDSConfig struct {
	// Configuration for the source of TapDS updates for this Cluster.
	ConfigSource *core.ConfigSource `protobuf:"bytes,1,opt,name=config_source,json=configSource,proto3" json:"config_source,omitempty"`
	// Tap config to request from XDS server.
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

[#not-implemented-hide:]

func (*CommonExtensionConfig_TapDSConfig) Descriptor added in v0.8.2

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

func (*CommonExtensionConfig_TapDSConfig) GetConfigSource added in v0.8.2

func (m *CommonExtensionConfig_TapDSConfig) GetConfigSource() *core.ConfigSource

func (*CommonExtensionConfig_TapDSConfig) GetName added in v0.8.2

func (*CommonExtensionConfig_TapDSConfig) Marshal added in v0.8.2

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

func (*CommonExtensionConfig_TapDSConfig) MarshalTo added in v0.8.2

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

func (*CommonExtensionConfig_TapDSConfig) ProtoMessage added in v0.8.2

func (*CommonExtensionConfig_TapDSConfig) ProtoMessage()

func (*CommonExtensionConfig_TapDSConfig) Reset added in v0.8.2

func (*CommonExtensionConfig_TapDSConfig) Size added in v0.8.2

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

func (*CommonExtensionConfig_TapDSConfig) String added in v0.8.2

func (*CommonExtensionConfig_TapDSConfig) Unmarshal added in v0.8.2

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

func (*CommonExtensionConfig_TapDSConfig) Validate added in v0.8.2

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

func (*CommonExtensionConfig_TapDSConfig) XXX_DiscardUnknown added in v0.8.2

func (m *CommonExtensionConfig_TapDSConfig) XXX_DiscardUnknown()

func (*CommonExtensionConfig_TapDSConfig) XXX_Marshal added in v0.8.2

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

func (*CommonExtensionConfig_TapDSConfig) XXX_Merge added in v0.8.2

func (*CommonExtensionConfig_TapDSConfig) XXX_Size added in v0.8.2

func (m *CommonExtensionConfig_TapDSConfig) XXX_Size() int

func (*CommonExtensionConfig_TapDSConfig) XXX_Unmarshal added in v0.8.2

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

type CommonExtensionConfig_TapDSConfigValidationError added in v0.8.2

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

CommonExtensionConfig_TapDSConfigValidationError is the validation error returned by CommonExtensionConfig_TapDSConfig.Validate if the designated constraints aren't met.

func (CommonExtensionConfig_TapDSConfigValidationError) Cause added in v0.8.2

Cause function returns cause value.

func (CommonExtensionConfig_TapDSConfigValidationError) Error added in v0.8.2

Error satisfies the builtin error interface

func (CommonExtensionConfig_TapDSConfigValidationError) ErrorName added in v0.8.2

ErrorName returns error name.

func (CommonExtensionConfig_TapDSConfigValidationError) Field added in v0.8.2

Field function returns field value.

func (CommonExtensionConfig_TapDSConfigValidationError) Key added in v0.8.2

Key function returns key value.

func (CommonExtensionConfig_TapDSConfigValidationError) Reason added in v0.8.2

Reason function returns reason value.

type CommonExtensionConfig_TapdsConfig added in v0.8.2

type CommonExtensionConfig_TapdsConfig struct {
	TapdsConfig *CommonExtensionConfig_TapDSConfig `protobuf:"bytes,3,opt,name=tapds_config,json=tapdsConfig,proto3,oneof"`
}

func (*CommonExtensionConfig_TapdsConfig) MarshalTo added in v0.8.2

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

func (*CommonExtensionConfig_TapdsConfig) Size added in v0.8.2

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

Jump to

Keyboard shortcuts

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