go-control-plane: github.com/envoyproxy/go-control-plane/envoy/config/filter/network/direct_response/v2 Index | Files

package envoy_config_filter_network_direct_response_v2

import "github.com/envoyproxy/go-control-plane/envoy/config/filter/network/direct_response/v2"


Package Files

config.pb.go config.pb.validate.go


var File_envoy_config_filter_network_direct_response_v2_config_proto protoreflect.FileDescriptor

type Config Uses

type Config struct {

    // Response data as a data source.
    Response *core.DataSource `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
    // contains filtered or unexported fields

func (*Config) Descriptor Uses

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetResponse Uses

func (x *Config) GetResponse() *core.DataSource

func (*Config) ProtoMessage Uses

func (*Config) ProtoMessage()

func (*Config) ProtoReflect Uses

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

func (*Config) Reset Uses

func (x *Config) Reset()

func (*Config) String Uses

func (x *Config) String() string

func (*Config) Validate Uses

func (m *Config) Validate() error

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

type ConfigValidationError Uses

type ConfigValidationError struct {
    // contains filtered or unexported fields

ConfigValidationError is the validation error returned by Config.Validate if the designated constraints aren't met.

func (ConfigValidationError) Cause Uses

func (e ConfigValidationError) Cause() error

Cause function returns cause value.

func (ConfigValidationError) Error Uses

func (e ConfigValidationError) Error() string

Error satisfies the builtin error interface

func (ConfigValidationError) ErrorName Uses

func (e ConfigValidationError) ErrorName() string

ErrorName returns error name.

func (ConfigValidationError) Field Uses

func (e ConfigValidationError) Field() string

Field function returns field value.

func (ConfigValidationError) Key Uses

func (e ConfigValidationError) Key() bool

Key function returns key value.

func (ConfigValidationError) Reason Uses

func (e ConfigValidationError) Reason() string

Reason function returns reason value.

Package envoy_config_filter_network_direct_response_v2 imports 18 packages (graph) and is imported by 6 packages. Updated 2021-01-09. Refresh now. Tools for package owners.